UBB.Dev
Posted By: Stilgar Sticky Hack for 6.2? - 02/04/2002 7:45 PM
Is anyone porting the Sticky Hack over for 6.2? Maybe the 6.1 version works on 6.2?

Thanks guys!
Posted By: Charles Capps Re: Sticky Hack for 6.2? - 02/04/2002 9:09 PM
The 6.1 MIGHT work in 6.2, depending on how it determines what topics are sticky.
Posted By: yors Re: Sticky Hack for 6.2? - 02/06/2002 11:35 AM
So, does that mean I can install 6.1 version in UBB6.2 or I cant? smile
Posted By: Charles Capps Re: Sticky Hack for 6.2? - 02/06/2002 9:08 PM
You should be able to do it.
Posted By: DJSharp Re: Sticky Hack for 6.2? - 02/14/2002 9:56 AM
NOPE! i just tryed to install it & it seemed like it would work until the last 2-4 steps...i tryed to figure it out, but it didnt come out right.

somebody PLEASE update this hack for 6.2 cuz I REALLY need it for my board.
Posted By: maurice Re: Sticky Hack for 6.2? - 02/14/2002 11:54 AM
The sticky mod works on my 6.2 forum!
Try to rehack it should work
Posted By: DJSharp Re: Sticky Hack for 6.2? - 02/14/2002 7:31 PM
then how did u do these 2 steps?...

########===================
######## in cp_vars_style.pl AND cp_add_new_template.pl (Templates):
########===================

########after:

&RegField(qq!Delete Topic (Admin) Icon


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

######## add:

&RegField(qq!Top thread (Admin) Icon


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

&RegField(qq!DeTop thread (Admin) Icon


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

########===================
########in cp_styles.cgi :
########===================

########find (you will find this 2 times, do this for BOTH):

"priv_message");

########replace with:

"priv_message", "top_thread", "detop_thread");

########after (you will find this 2 times also, do this for BOTH):

"delete_topic" => qq^$in{delete_topic}^,

########add:

"top_thread" => qq^$in{top_thread}^,
"detop_thread" => qq^$in{detop_thread}^,

...........................................

confused
Posted By: Shinju Re: Sticky Hack for 6.2? - 02/14/2002 8:08 PM
I am fairly new to this hacking stuff (had my board since november) and I was able to get it to work.

There is a new file that goes with cp_vars_style.pl it is cp_vars_style_core.pl

So once you make the change in that it is pretty much done everywhere else.

It says to look for "priv_message"); in cp_styles.cgi and you will not be able to find it.

I looked for: move_topic delete_topic prev_topic next_topic priv_message and then added: top_thread detop_thread to the end of that line.

this "delete_topic" => qq^$in{delete_topic}^, isn't there anymore at all and I spent a long time trying to figure out where it may have gone. I wasn't able to find it, and i think it will only affect the boards if I try to add a new forum, so i left it out and it seems to work fine.

Like I said I'm pretty new to this so I'm not sure that what I've said will help you any, but knowing about cp_vars_style_core should be some help at least.
Posted By: Charles Capps Re: Sticky Hack for 6.2? - 02/14/2002 8:23 PM
Shinju, you're right on. Thank you for applying your brain before hacking. laugh

If the hack doesn't seem to work out, explore the code... try to find out what it's trying to do and do your best to make it work.
Posted By: DJSharp Re: Sticky Hack for 6.2? - 02/14/2002 11:40 PM
i might try that, but it would still be good if somebody updates this hack for 6.2 so its easier to understand.
Posted By: DJSharp Re: Sticky Hack for 6.2? - 02/14/2002 11:57 PM
quote:
Originally posted by Shinju:
and i think it will only affect the boards if I try to add a new forum.

i just tryed adding a new forum after updating it the way you said & the sticky hack works! so i dont think it will cause any problems adding new forums IF thats what u meant.

but it seems to work great now...thanks.
Posted By: Cuzz Re: Sticky Hack for 6.2? - 02/15/2002 12:32 AM
I got Sticky to work on my board to. The only thing boggleing me is that my "recent visitors" doesn't show anymore.

Any tips?
Posted By: Corona Re: Sticky Hack for 6.2? - 02/23/2002 12:09 AM
I ported it to 6.2.x and shipped it to jordo for review. hopefully he will look over the install, and add it to his downloads. If anyone wants the port, please email me at [email protected]. keep in mind that the install text is not clean, but it shows what needs to be changed in order to be compatable on v6.2.x
Posted By: enricoeur Re: Sticky Hack for 6.2? - 02/23/2002 9:06 AM
i have installed this hack in 6.2 version..work
but this make one loop and destroy ultimatebb.cgi
© UBB.Developers