Previous Thread
Next Thread
Print Thread
Rate Thread
#52028 02/04/2002 12:45 PM
Joined: Feb 2001
Posts: 2,285
Old Hand
Old Hand
Joined: Feb 2001
Posts: 2,285
Is anyone porting the Sticky Hack over for 6.2? Maybe the 6.1 version works on 6.2?

Thanks guys!

Sponsored Links
#52029 02/04/2002 2:09 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
The 6.1 MIGHT work in 6.2, depending on how it determines what topics are sticky.


UBB.classic: Love it or hate it, it was mine.
#52030 02/06/2002 4:35 AM
Joined: Oct 2001
Posts: 157
Member
Member
Offline
Joined: Oct 2001
Posts: 157
So, does that mean I can install 6.1 version in UBB6.2 or I cant? smile


Yors Truly

Who? Me? Worry?
#52031 02/06/2002 2:08 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
You should be able to do it.


UBB.classic: Love it or hate it, it was mine.
#52032 02/14/2002 2:56 AM
Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
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.

Sponsored Links
#52033 02/14/2002 4:54 AM
Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
The sticky mod works on my 6.2 forum!
Try to rehack it should work

#52034 02/14/2002 12:31 PM
Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
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

#52035 02/14/2002 1:08 PM
Joined: Jan 2002
Posts: 54
Member
Member
Offline
Joined: Jan 2002
Posts: 54
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.

#52036 02/14/2002 1:23 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
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.


UBB.classic: Love it or hate it, it was mine.
#52037 02/14/2002 4:40 PM
Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
i might try that, but it would still be good if somebody updates this hack for 6.2 so its easier to understand.

Sponsored Links
#52038 02/14/2002 4:57 PM
Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
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.

#52039 02/14/2002 5:32 PM
Joined: May 2001
Posts: 29
Spotlight Runner-Up
Spotlight Runner-Up
Offline
Joined: May 2001
Posts: 29
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?

#52040 02/22/2002 5:09 PM
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
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

#52041 02/23/2002 2:06 AM
Joined: Jan 2002
Posts: 36
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 36
i have installed this hack in 6.2 version..work
but this make one loop and destroy ultimatebb.cgi


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)