UBB.Dev
Posted By: Fuzion [6.1x] Cosmetic Links - 08/05/2001 10:00 PM
Description: Makes your ubb links like profile, search, etc. to images.
Version: Version 1.0
Credits: Credits to the 6.0x author Blaze.
Demo: None
Download URL: DOWNLOAD

Hope you enjoy this one. smile
If you have any questions, comments, or bug fixes please e-mail me at eric@gamerzparadize.com .
Posted By: Tech-Ni-Kal Re: [6.1x] Cosmetic Links - 08/05/2001 10:55 PM
Jeez, you are on a roll man. This is like your 5th hack ported good job!
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/05/2001 11:31 PM
Thanx dude i been waiting for this one
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/05/2001 11:39 PM
How can i center these button i would like to have them under my main logo on the top

instead off the button being beside my top logo makes it look weird a bit
Posted By: Fuzion Re: [6.1x] Cosmetic Links - 08/05/2001 11:55 PM
In ubb_lib.cgi Find:

$MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest |

Replace With:

$MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest |
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/06/2001 12:30 AM
No no man i want the buttons under my top logo not beside dude


Like

Banner or Logo
-------------------------
Profile|Register|Faq

Like that not like this

Banner or Logo
-------------------------- Profile|Register|Faq
that i don't like ugly looking heheh

[ August 05, 2001: Message edited by: SiR_DawG ]
Posted By: Fuzion Re: [6.1x] Cosmetic Links - 08/06/2001 2:19 AM
Inserting a line break into your header should take care of that.
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/06/2001 2:23 AM
Line Break can you put the code and tell me were to add so it don't confuse me

[ August 05, 2001: Message edited by: SiR_DawG ]
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/06/2001 2:27 AM
Ok see your board dude
You have your top logo
then under it you have

Login and the buttons |Profile|Reg|Faq
ect. well that how i want it
Posted By: Tech-Ni-Kal Re: [6.1x] Cosmetic Links - 08/06/2001 2:30 AM
Quote
quote:
A line break is either a:



or
Posted By: SiR_DawG Re: [6.1x] Cosmetic Links - 08/06/2001 2:32 AM
So it is like this


$MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest |
Posted By: MrStormyNights Re: [6.1x] Cosmetic Links - 10/03/2001 6:21 PM
problem solved, I was replacing something I shouldn't, so disreguard this post.

[ 10-28-2001: Message edited by: MrStormyNights ]

[ 12-01-2001 09:03 PM: Message edited by: MrStormyNights ]
Posted By: Splitfyre Re: [6.1x] Cosmetic Links - 10/14/2001 10:33 AM
made those changes and it screwed up my ubb_lib.cgi and I had no access to CP. Will have to try and re-hack later today.

- Kevin
Posted By: Splitfyre Re: [6.1x] Cosmetic Links - 10/15/2001 1:38 AM
Seems as though when I go to look at a thread, the profile and a few other buttons for each thread haven't switched over.

Take a look on my board to see: http://forums.futurelooks.com/cgi-bin/ultimatebb.cgi
Posted By: Dark Assassin Re: [6.1x] Cosmetic Links - 01/11/2002 7:26 AM
we cant seem to get it to show for member list could you tell me what to do to get that im a little to cgi stuff so i dont know exactly what to do our board is

[ 01-13-2002 05:52 PM: Message edited by: Dark Assassin ]
Posted By: Dark Assassin Re: [6.1x] Cosmetic Links - 01/13/2002 1:08 AM
bump
Posted By: manuelbp Re: [6.1x] Cosmetic Links - 01/13/2002 6:13 AM
There is a guy who is trying to make a modification to this hack. The problem is that doesn´t speak english, and I don´t know Pearl so as to help him. So what I will do is translate his problem here and then translate back to him the replies.

What he wants to do:
He wants to make the Cosmetic Link´s images CP configurable. This way, the images can have any name, not profile.gif, register.gif, etc. With this feature and together with MyStyle (LK), you can have many templates all with different set of images for Cosmetic Links. (For example, one template would use profile.gif, another one profile2.gif, etc)

The problem:
He can´t make the following code in ubb_lib.cgi work:


quote:
if ($vars_registration{DisplayRegistration} ne 'NO') { $MyProfileLink = qq($vars_wordlets{profile_acronym} ; $ifmyreg = "|"; $ifregsearch = "|" unless $vars_registration{SuspendRegister} eq "true"; $RegisterLink = qq($vars_wordlets{register_acronym} unless $vars_registration{SuspendRegister} eq "true"; } if ($vars_search{AllowSearch} ne 'FALSE') { $ifsearchrest = "|"; $SearchLink = qq($vars_wordlets{search} ; } $MainButtons = qq!$MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest $vars_wordlets{faq_acronym}$vars_wordlets{forum_acronym}$vars_wordlets_calendar{calendar}$vars_wordlets_mods{ML_memberlist}!;


He says that $vars_style{NOMBRE DEL BOTON} should change the image to the one chosen via CP, but only the first style changes. The others keep the buttons of the first.


Well, I hope this is not too confusing. It is to me. laugh Thanks a lot.
Posted By: manuelbp Re: [6.1x] Cosmetic Links - 01/21/2002 8:37 PM
bumping
Posted By: Nokia666 Re: [6.1x] Cosmetic Links - 01/22/2002 2:05 PM
Hi,
I have the member list and calendar installed as well.
Could you possibly give me the code to change these into images as well.
The full code for all links and images please
Posted By: Nokia666 Re: [6.1x] Cosmetic Links - 01/24/2002 1:01 PM
Anyone? Please
Posted By: DJ Ghost Re: [6.1x] Cosmetic Links - 01/31/2002 1:17 AM
yeah, i'm also wondering what to do about the calendar and memberlist links. i changed a couple of things and now i see the memberlist and calendar links but not pictures. here's my code:

if ($vars_registration{DisplayRegistration} ne 'NO') {
$MyProfileLink = qq();
$ifmyreg = "|";
$ifregsearch = "|" unless $vars_registration{SuspendRegister} eq "true";
$RegisterLink = qq() unless $vars_registration{SuspendRegister} eq "true";
}

if ($vars_search{AllowSearch} ne 'FALSE') {
$ifsearchrest = "|";
$SearchLink = qq();
}

$MainButtons = qq!
$MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest | $vars_wordlets_mods{ML_memberlist_link}"> | | $vars_wordlets_calendar{calendar_link}">
!;

Thanks. -ghost
Posted By: RandyM Re: [6.1x] Cosmetic Links - 01/31/2002 2:01 AM
For the memberlist I added...

[code][/code]The calendar would be the same format, but point it to the calender url and image.
Posted By: DJ Ghost Re: [6.1x] Cosmetic Links - 01/31/2002 4:43 AM
yo, good looks. it worked perfectly. thanks

-ghost
© UBB.Developers