UBB.Dev
This hack changes the UBB Links for my profile, home, search, etc... to be graphics instead of text. You can change the graphics based on your stlye template through the control panel.

This hack was originally posted by Gamer. I emailed him and he said he does not support his hacks any longer and that I could feel free to do whatever. I updated his hack to 6.2 and added the CP Styles Template part to make it easy to change the graphichs based on your styles.

Files: Text Instructions and my images or Multihack File

Demo of what it looks like: WEWFHF UBB

UPDATED FOR IM - I included two graphic's for IM, one with a white backgound and one with a black background. I also included the psd, so if you got photoshop or something that opens psd's you can change it yourself.

I fixed the borber= typo, Thanks York1 for pointing out my mistake.

I fixed the IP link & replaced with ; - Thanks Corona for pointing that out.

Updated for Authority Link. 03-08-02
you forgot instant message as well as calender tipsy
very nice hack but could you please add button for "instant message"... will use it if this feature added. tia...
Very nice smile

BTW, it has calendar.
Perfect smile

Please ad the instant message, then I can pu it up laugh
quote:
Originally posted by LK:
Very nice smile

BTW, it has calendar.

I meant has calendar but forgot IM tipsy
would this be correct to include im?

#############################
##open cp_styles.cgi FIND:
#############################

sub cp_styles_get_master_lists {
return qw(

#############################
##after it add
#############################

imlink

########################
Open ubb_lib.cgi, FIND:
########################

push(@items, qq($vars_wordlets_im{im_link}));

######################
Replace With:
######################


push(@items, qq($vars_wordlets_im{im_link}));

#####################################
##open cp_vars_style_core.pl FIND:
#####################################

&RegField(qq!UBB Code - List End


!, "ubbcode_list_end", "yes", "30", "60", "", "$vars_style{ubbcode_list_end}");

&RegField(qq!UBB Code - Image


!, "ubbcode_image", "yes", "30", "60", "", "$vars_style{ubbcode_image}");

##after it add

&RegField(qq!imList Link


!, "imlink", "yes", "30", "60", "", "$vars_style{imlink}");
imList? Make it "IM"... Anyway, do you have any image you'd like to share? wink
just insert this wink [Linked Image]
:rolleyes:
ZIP and Multihack File updated for IM! Sorry no graphic yet, but I will find or make one and add it later
Everything worked fine;) I do have a question tho the images on my board have a border around them.Is there any way to change this? It looks hoky;)
http://www.vp6-board.com/cgi-bin/ubbcgi/ultimatebb.cgi
Never mind I found it;)
borber="0" should be border?
border="1"
Well in the hack border was mispelled.Thats what caused my problem anyway;) Just did a search and replace Now everything is perfect;)
Thanks, I was wondering that myself and had not got around to tracking it down. Typing and spelling is not my profession, thank god. I will fix it and update the hack asap.
York1, I just checked out your board, you forgot the IPlink one in ubb_lib_posting.cgi, unless that was on purpose.

Sorry for the typo and thanks again for beta testing this one for me. smile I looked at this myself and for the life of me I could not figure out why I had that dang border around the images. I guess I need better glasses.
Thank you for the hack port Storm.

The install text to hack ubb_lib_posting.cgi should read: (this replaces amperstands with semicolons)

########################
Open ubb_lib_posting.cgi, FIND:
########################

$ip_wording = qq($ip_divider $vars_wordlets{ip}: $vars_wordlets{ip_logged});

######################
Replace With:
######################

$ip_wording = qq($ip_divider $vars_wordlets{ip_logged});
OOOOPPPPPPPPS, missed that one thanks Corona

zip file and Multihack file updated!
How about adding Authority List ? smile

Rainner
I was already thinking of that since I added authority list to my board, I will add it and update the files later today hopefully.
Would there be any way to take out the links at the top right of the page, center the logo, and put the images (inside a table) like right above the NewsFader?

Confusing, I know....

~Jon
Yea there would, but that is not the purpose of this hack, If you want to do that you'll have to figure out how to hack the files yourself, Sorry

I could figure out how to do it, but I don't have the time, so if you can't figure it out, ask someone else to help you.
Ok. That's alright.

~Jon
Files updated for Authority list addition
I installed the hack and when ever I type out all the links in the styles thing (in cp) click ok I go back in and they are blank and they are all X'ed on the forums!
Great i was looking for this hack will try tomorrow smile
quote:
Originally posted by *Speedy*:
I installed the hack and when ever I type out all the links in the styles thing (in cp) click ok I go back in and they are blank and they are all X'ed on the forums!

same here hmmmm
Ok guys, I am just getting ready to do this myself for the 6.2.1.1 upgraded files, so I will see if it's a bug or what may be happening. How did you install it? via multihack or text instructions??

Did you upload the graphics files to your non-cgi folder?

If you did go in to your styles template and see if the images are there. If you have multiple style templates you must do this for all of them. If they are there when you look at your styles templates, then rehack ubb_lib.cgi. If they are not check cp_vars_style_core.pl and cg_styles.cgi to ensure you hacked them right.

what version of ubb you running and what is the link to your boards with the problem so I can look at it?

Edit 3-20-02
Well I assume you two must have figured it out since there is no response to my questions?
Mr. Stormy Nights,
I installed the hack on 6.2.1.1 and it worked GGGGGREAT! (Installed with your text instructions)
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

QUESTION
Do you know how I can get rid of the | symbol between each graphic?

Thanks Again!
Regards,
Helen
quote:
Originally posted by Helen Nich:
Mr. Stormy Nights,
I installed the hack on 6.2.1.1 and it worked GGGGGREAT! (Installed with your text instructions)
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

QUESTION
Do you know how I can get rid of the | symbol between each graphic?

Thanks Again!
Regards,
Helen

in ubb_lib.cgi find:

return join(" | ", @items)
} # end MainButtonOptions

Replace it with:

return join(" ", @items)
} # end MainButtonOptions
Ohhh thanks....
Knew it was something rather easy....just wasn't sure which "|" to remove! You're the best!
Now I can replace the text images with "real" images! WOOT! (Guess you can tell I'm all excited!)
quote:

QUESTION
Do you know how I can get rid of the | symbol between each graphic?

i have the same problem , how can i fix them?

thanks!
I applied this on 6.3 and I have |'s still, how to remove?
any idea how to like make like 2 rows of images as opposed to one long one?
© UBB.Developers