|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
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 ]
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
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
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
MM: Dave will never get a haircut
|
|
|
|
Joined: Jul 2001
Posts: 18
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 18 |
I have UBB6.05 Doesn't it do this already? Or do I not understand what this hack does ehhehe Thanks!
Kind Regards, Ping Productions
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Jun 2001
Posts: 56
Member
|
Member
Joined: Jun 2001
Posts: 56 |
Hey Mastermind..I tested it out on UBB 6.05 and it works perfectly..I love it..Does exactly as described..No bugs experienced..
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
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 ]
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
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 ]
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
link is broken. where can i get this hack? BR tks for update [ July 28, 2001: Message edited by: click ]
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Works great 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");
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
tks LK, tried but says.. "hack atempt logged: topic not it propper format" or something like that... what can it be ?
BR
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hmm... So try Edit: used [quote] so the thread will look fine [ July 28, 2001: Message edited by: LK ]
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
tks one more time... now its working BR
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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.
Sue adwoff.com
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Updates for PB 1.2 (xhtml changes too ): 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);
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
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]
However the current text file has this line:
[code] Which should it be?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Always follow the doc. I felt like using / instead of another tag.
|
|
|
|
Joined: Jun 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 5 |
haxoring txt works great. thx
|
|
|
|
Joined: Sep 2000
Posts: 67
Member
|
Member
Joined: Sep 2000
Posts: 67 |
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: 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 ]
|
|
|
|
Joined: May 2001
Posts: 186
Member
|
Member
Joined: May 2001
Posts: 186 |
Works fine, but:
If I edit a posting, the hack redirects me one page too far (instead of 4 to 5 etc.)
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|