MyBB Codes
How do I remove this? - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Babjusi's Previous Forum General Stuff (/forumdisplay.php?fid=42)
+--- Forum: General Support (/forumdisplay.php?fid=46)
+--- Thread: How do I remove this? (/showthread.php?tid=1144)


How do I remove this? - skiilz - 12-08-2009 10:56 PM

I have added the Custom User tittle and look at the picture...
[Image: attachment.php?aid=16438]

And the "****"..

How do I solve it?


RE: How do I remove this? - babjusi - 12-09-2009 07:12 AM

I read your thread at Mybb. Did you solve it or do you still require assistence with it?


RE: How do I remove this? - skiilz - 12-09-2009 08:16 AM

I need help yet.


RE: How do I remove this? - babjusi - 12-09-2009 08:26 AM

Can you tell me the code that you have used to bold the text?

Also, for the images, is the path set as it should?


RE: How do I remove this? - skiilz - 12-09-2009 08:43 AM

What path should be?

I used this code:
<a onclick="alert('Skiilz')"><strong>Click for important Message</strong></a>

If you need more info: http://community.mybboard.net/thread-61031.html


RE: How do I remove this? - babjusi - 12-09-2009 08:48 AM

Can you tell me also where exactly did you add that code?


RE: How do I remove this? - skiilz - 12-09-2009 08:49 AM

I have installed this mod: http://mybbsource.com/mods.php?act=view&id=63 to allow HTML in usertitles. (only in ACP)
Them I went to ACP and added this code to the profile>custom user title.


What path should be (for the starts)?
I have removed the starts in the Profile template ({$userstars})


RE: How do I remove this? - babjusi - 12-09-2009 08:59 AM

Then I think that you should ask at that mod''s support thread because I am not familiar with it.

Now for the stars, when you edit a usergroup title, there is an option all the way that says: Star Image. below you should enter the path to the stars that you want to show for that particluar group.

The image to the stars can be seen at the functions.post.php file in the /inc/ directory. The exact code is:

PHP Code:[Highlight]
$post['userstars'] .= "<img src=\"".$post['starimage']."\" border=\"0\" alt=\"*\" />"

But as I said, all you have to do is simply entering the path to the stars that you want to show for that particluar group at that option that I mentioned above. Hope it helps.


RE: How do I remove this? - skiilz - 12-09-2009 09:01 AM

I have removed the starts in the Profile template ({$userstars})
Thank you.


RE: How do I remove this? - babjusi - 12-09-2009 09:05 AM

Ah, you didn''t want to show stars at all? I was under the impression that you wanted to add your own starts for the custom titles.


RE: How do I remove this? - skiilz - 12-09-2009 09:08 AM

No... I want to remove the starts at all because I already have the rank image.


RE: How do I remove this? - skiilz - 12-09-2009 05:36 PM

FOR THE BIG RED CIRCLE:
Matt Wrote:Easiest thing to do is remove the alt and title tags from the member_profile_groupimage template.
More info: http://community.mybboard.net/thread-61031-post-437070.html#pid437070


RE: How do I remove this? - babjusi - 12-09-2009 08:06 PM

For the stars I think that no removing is necessary. Simply leave empty the place where you are suppoused to add the url to the star images. Unless I have misunderstood you.

Whereas for the second issue, I think you ought to ask it at that plugin support thread.


RE: How do I remove this? - skiilz - 12-09-2009 09:40 PM

The second one I have already solved with the post above.
I need to know where is this code:
<img src="starimageURL" alt="*">
And I just need to remove the * and all will be fine.


RE: How do I remove this? - babjusi - 12-10-2009 09:38 AM

(12-09-2009 09:40 PM)Light33 Wrote:  The second one I have already solved with the post above.
I need to know where is this code:
<img src="starimageURL" alt="*">
And I just need to remove the * and all will be fine.

I had posted it several posts above.

http://www.forumsecurity.eu/showthread.php?tid=96&pid=279#pid279

To do that change the code to:

PHP Code:[Highlight]
$post['userstars'] .= "<img src=\"".$post['starimage']."\" border=\"0\" alt=\"\" />"



RE: How do I remove this? - skiilz - 12-10-2009 11:41 AM

Didn't work...
I changed this:
PHP Code:[Highlight]
$post['userstars'] .= "<img src=\"".$post['starimage']."\" border=\"0\" alt=\"*\" />"

to this:
PHP Code:[Highlight]
$post['userstars'] .= "<img src=\"".$post['starimage']."\" border=\"0\" alt=\"\" />"

functions_post.php is only for the post.. There isn't one for profile?


RE: How do I remove this? - babjusi - 12-10-2009 01:07 PM

That should work. I just loaded your forum now and the asterics are gone from the postbit. That is what you wanted, right? At least that is what I gathered from your screenshots.


RE: How do I remove this? - skiilz - 12-10-2009 01:30 PM

It is from the profile...


RE: How do I remove this? - babjusi - 12-10-2009 01:31 PM

(12-10-2009 01:30 PM)Light33 Wrote:  It is from the profile...

Ah, I see. I thought that you meant it at the postbit area. I will look into it tomorrow and will let you know. As now I have to log off.


RE: How do I remove this? - skiilz - 12-10-2009 01:33 PM

Thank you. And sorry to bother you.. Smile


RE: How do I remove this? - babjusi - 12-10-2009 01:40 PM

No bother at all my friend, don''t worry about it Smile

Can you tell me once again where and how you set the custom name and what have you set for the url of the star images?


RE: How do I remove this? - skiilz - 12-10-2009 02:09 PM

Thank you. But isn't this code that I have to edit: I got an SQL error.
I changed this one and finally solve the problem:
$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"*\" />";
To this one:
$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"\" />";


(12-10-2009 01:40 PM)babjusi Wrote:  But I suspect that you haven''t entered the proper image path at the image option.
I removed the image path:
[attachment=58]
And if there is no image path it will display the alt="*"


THANK YOU FOR YOUR PATIENT!
Smile


RE: How do I remove this? - babjusi - 12-10-2009 02:13 PM

Can you try to enter there the following:

For nm of starts add what number you wish whereas at Star Image add: images/star.gif and make sure that you have a star.gif at the images folder. Cos that is why you get those asteric characters, the image path is empty.

If you want to totally remove the stars from profile find and remove {$userstars}<br /> at the member_profile template.


RE: How do I remove this? - skiilz - 12-10-2009 02:17 PM

--I don't want images for this group thats why I removed!

I have solved it already:
I changed this one: (member.php)
$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"*\" />";
To this one:
$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"\" />";

And finally solved the problem.
Thank you!
Smile


RE: How do I remove this? - babjusi - 12-10-2009 02:20 PM

Ah, the same bit of code I posted but at the member.php file for the profile. Glad to hear it that you got it solved. Smile


RE: How do I remove this? - skiilz - 12-10-2009 02:23 PM

Yes the same! hehehe


RE: How do I remove this? - babjusi - 12-10-2009 02:25 PM

Good thinking buddy, I am very impressed.


RE: How do I remove this? - skiilz - 12-10-2009 02:29 PM

HEHE... I don't know how to code but I have some notion!
UHH


RE: How do I remove this? - babjusi - 12-10-2009 02:51 PM

(12-10-2009 02:29 PM)Light33 Wrote:  HEHE... I don't know how to code but I have some notion!
UHH

You have intuation and very good sense. I believe you can learn to code in no time if you really set you mind to learn it.


RE: How do I remove this? - skiilz - 12-10-2009 03:07 PM

Yes... Do you know any site with manuals/tips to help me?
I like to learn new things.


RE: How do I remove this? - babjusi - 12-10-2009 03:17 PM

You can try the w3schools. They have some nice tutorials in there.

http://www.w3schools.com/


RE: How do I remove this? - skiilz - 12-10-2009 03:39 PM

Thank you.
I'm reading the PHP one.


RE: How do I remove this? - babjusi - 12-10-2009 05:27 PM

If you will really get into it in a month or so you will start to create your own plugins.