UBB.Dev
Posted By: Greg Hard [6.1x] Anchor Hack v7.1 Beta - 06/10/2001 3:00 AM
Since the LACK of response from my testers, I am releasing this to the public. This is basically the anchor hack, recoded it to kill all sign of bugs, and am posting it here --
Works for 6.1 now!

No need to upgrade from 6 unless you feel so. Not many code changes...

http://www.coders-net.com/hacks/anchor7.txt

[ July 28, 2001: Message edited by: MasterMind ]
Posted By: Tech-Ni-Kal Re: [6.1x] Anchor Hack v7.1 Beta - 06/10/2001 6:07 AM
Hey mastermind .. I did tes tthis and I didnt find any problems except for the fact that I couldnt email you back cause i lost ur email man .. sorry
Posted By: Greg Hard Re: [6.1x] Anchor Hack v7.1 Beta - 06/10/2001 6:18 AM
np tech.
Posted By: GoTorankusuKu Re: [6.1x] Anchor Hack v7.1 Beta - 06/10/2001 7:30 AM
MM: Dave will never get a haircut tipsy
Posted By: Ping Productions Re: [6.1x] Anchor Hack v7.1 Beta - 07/20/2001 1:20 AM
I have UBB6.05
Doesn't it do this already?
Or do I not understand what this hack does confused

ehhehe
Thanks!
Posted By: Greg Hard Re: [6.1x] Anchor Hack v7.1 Beta - 07/20/2001 2:02 AM
no.
Posted By: TorN Re: [6.1x] Anchor Hack v7.1 Beta - 07/20/2001 2:40 AM
Hey Mastermind..I tested it out on UBB 6.05 and it works perfectly..I love it..Does exactly as described..No bugs experienced..
Posted By: Sonic Re: [6.1x] Anchor Hack v7.1 Beta - 07/20/2001 2:48 AM
Sounds great! But the link is bad.

Just went and found the thread for Anchor Hack 6, and the link there takes me to 7! Heres the link I used if anyone still has problems with the link above. http://www.coders-net.com/hacks/anchor.txt

[ July 19, 2001 07:51 PM: Message edited by: Sonic ]
Posted By: Sonic Re: [6.1x] Anchor Hack v7.1 Beta - 07/20/2001 3:18 AM
Just noticed something in your instructions I downloaded. Your instructions say:

-------------------------
>>Open ubb_new_topic.cgi

>>Replace:

&Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum&f=$in{f}", "$vars_wordlets{thanks_for_posting}", "$this_forum[1]");

>>With:

&Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$new_topic_number", "$vars_wordlets_mods{anchor_thanks}", "$this_forum[1]");
-------------------------

If you wanted the thank you page saying the forum topic, it needs to be replace with:

-------------------------
&Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$new_topic_number", "$vars_wordlets_mods{anchor_thanks}", "$this_subject");
-------------------------

[ July 19, 2001 10:13 PM: Message edited by: Sonic ]
Posted By: click Re: [6.1x] Anchor Hack v7.1 Beta - 07/28/2001 11:43 PM
link is broken.
where can i get this hack?

BR

tks for update laugh

[ July 28, 2001: Message edited by: click ]
Posted By: click Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 12:19 AM
i'm using hit hack, on ubb_new_reply.cgi i have this code:

&Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$in{t}&counterhit=no", "$vars_wordlets{thanks_for_posting}", "$this_subject");

what should i replace?

Tks
Posted By: LK Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 12:25 AM
Works great smile

Replace with: &Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$in{t}$doextra#$anchor&counterhit=no", "$vars_wordlets{thanks_for_posting}", "$this_subject");
Posted By: click Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 12:37 AM
tks LK, tried but says.. "hack atempt logged: topic not it propper format" or something like that... what can it be ?

BR
Posted By: LK Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 12:39 AM
Hmm... So try
Quote
quote:
Edit: used [quote] so the thread will look fine

[ July 28, 2001: Message edited by: LK ]
Posted By: click Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 1:06 AM
tks one more time... now its working wink

BR
Posted By: ADWOFF Re: [6.1x] Anchor Hack v7.1 Beta - 07/29/2001 4:29 AM
I installed the hack on my test board (after searching for the various code -- some of it didn't match when I searched) ... it appears to be running AOK.

Thanks.
Posted By: AllenAyres Re: [6.1x] Anchor Hack v7.1 Beta - 08/08/2001 6:16 AM
Updates for PB 1.2 (xhtml changes too wink ):

public_topic_page.pl (template):

Change from:
quote:




to:
quote:





ubb_edit_post.cgi has changed from:
quote:

sub perform_edit {
local($count, $message, $ip_number, @post_data, $edit_date, $edit_time, @last_numbers);



to:

quote:

sub perform_edit {
local ($count, $message, $ip_number, @post_data, $edit_date, @last_numbers);

Posted By: CaCoffin Re: [6.1x] Anchor Hack v7.1 Beta - 08/11/2001 5:26 AM
It looks like you updated the TXT file that is linked to on the thread starter post.

The 2nd change you noted has been done, however the first change you noted does not match or you have made the change and changed the change.

Code
[/code]

However the current text file has this line:

[code]

Which should it be?
Posted By: Greg Hard Re: [6.1x] Anchor Hack v7.1 Beta - 08/11/2001 5:28 AM
Always follow the doc. I felt like using / instead of another tag.
Posted By: Ido Re: [6.1x] Anchor Hack v7.1 Beta - 08/29/2001 4:48 AM
haxoring txt works great. thx
Posted By: jlaine Re: [6.1x] Anchor Hack v7.1 Beta - 09/27/2001 6:20 PM
MasterMind- I think I've had an issue with the redirect portion of this hack when clicking on the "pm" function on a page thread (removing the hack fixed the error- so I am assuming it is this)- when it attempts to redirect you back to the thread once you are done composing the PM - the redirect shows:

Quote
quote:
But it gets truncated at the first ;, so the redirect URL just goes to http://forum.soundillusions.net/ubbcgi/ultimatebb.cgi?ubb=get_topic -- I am assuming altering the ; to & like the rest of the redirects do will repair this issue- but I don't know where to find this section to repair it.

This only happens with sending a new PM off a forum thread- nowhere else though...

[ 09-27-2001: Message edited by: jlaine ]
Posted By: SirGrendel Re: [6.1x] Anchor Hack v7.1 Beta - 10/23/2001 1:59 AM
Works fine, but:

If I edit a posting, the hack redirects me one page too far (instead of 4 to 5 etc.)
© UBB.Developers