Previous Thread
Next Thread
Print Thread
Rate Thread
#145197 06/09/2001 8:00 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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 ]

Sponsored Links
Joined: May 2001
Posts: 2,798
Member
Member
Offline
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
Offline
Joined: Feb 2000
Posts: 4,625
np tech.

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
MM: Dave will never get a haircut tipsy

Joined: Jul 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 18
I have UBB6.05
Doesn't it do this already?
Or do I not understand what this hack does confused

ehhehe
Thanks!


Kind Regards, Ping Productions
Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
no.

Joined: Jun 2001
Posts: 56
Member
Member
Offline
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
Offline
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
Offline
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
Offline
Joined: May 2001
Posts: 175
link is broken.
where can i get this hack?

BR

tks for update laugh

[ July 28, 2001: Message edited by: click ]

Sponsored Links
Joined: May 2001
Posts: 175
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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");

Joined: May 2001
Posts: 175
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Hmm... So try
Quote
quote:
Edit: used [quote] so the thread will look fine

[ July 28, 2001: Message edited by: LK ]

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
tks one more time... now its working wink

BR

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
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 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);



- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 151
Member
Member
Offline
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
[/code]

However the current text file has this line:

[code]

Which should it be?

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Always follow the doc. I felt like using / instead of another tag.

Joined: Jun 2000
Posts: 5
Ido Offline
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 5
haxoring txt works great. thx

Joined: Sep 2000
Posts: 67
Member
Member
Offline
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:

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 ]

Joined: May 2001
Posts: 186
Member
Member
Offline
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.)


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)