Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User selectable Redirections Details »»
User selectable Redirections
Version: 1.00, by Kars10 Kars10 is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-26-2003 Last Update: Never Installs: 13
 
No support by the author.

About this Hack:
With this feature, your users can decide to use the vBulletin-redirection pages or not.

Time to install:
15 min

Files to edit: 3
member.php, register.php, admin/functions.php

Templates to edit: 3
modifyoptions, registeradult, registercoppa

Templates to add: 0

[high]!!! PLEASE BACKUP YOUR FILES AND DATABASE, AND IF YOU LIKE THIS HACK LICK INSTALL!!![/high]

Have Fun Kars

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-04-2003, 01:34 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Parker....Pondering. Maybe it has something to do with the hack "CHANGE SUBSCRIBE LINK TO UNSUBSCRIBED IF ALREADY SUBSCRIBED HACK" by Logician or something for it does also modify member2.php. I see yuo do not use that one, so, maybe, just maybe.

Dang! For I liked this one.
Reply With Quote
  #33  
Old 07-05-2003, 03:00 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...Here is the scoop...

For some reason I was getting some extra code added into the URL.

When I have it turned ON (so you get the redirect page)...I get...(Note shortened so it all would show)

http://DOMAIN/tivo-vb/showthread.php?s=&threadid=5

When OFF....I get...

http://DOMAIN/tivo-vb/showthread.php?s=&-amp;threadid=5

Not sure where the extra "amp;" is being added. (Spaced '-' added for the site stripped it as it should have.

So, to get around this, I added a second str_replace line to remove it.... My code now looks like this for that area...

Code:
  // User selectable Redirection by Kars
  $url = str_replace("\"", "", $url);
  $url = str_replace("amp;", "", $url);

As mentioned, I have NO CLUE where it was coming from. IF anyone does, please be so kind to let me know. Hack does now work for me as needed.

Thanks

David
Reply With Quote
  #34  
Old 07-09-2003, 05:18 PM
Drowned Drowned is offline
 
Join Date: Apr 2002
Location: Guatemala, Central Americ
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm... after replying to a thread, the link seems to include the post ID but not the part for the bookmark, so it only redirects you to the thread, but not to the last post you made... what part must I modifiy to add that?
Reply With Quote
  #35  
Old 07-15-2003, 01:58 PM
Drowned Drowned is offline
 
Join Date: Apr 2002
Location: Guatemala, Central Americ
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody?
Reply With Quote
  #36  
Old 08-12-2003, 03:36 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add #post$post[postid] to the end of the link, I think... If I remember right...
Reply With Quote
  #37  
Old 11-01-2003, 12:29 PM
Tae-Hwan Tae-Hwan is offline
 
Join Date: May 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i too am having a problem with the & error that david bott described.
Reply With Quote
  #38  
Old 11-11-2003, 05:19 AM
joor joor is offline
 
Join Date: Sep 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dstruct2k
Just add #post$post[postid] to the end of the link, I think... If I remember right...
I am trying to make this sitewide so all I am doing is changing the redirect code to use the header call. But I am having the same issue, I can't for the life of me figure out why header ("Location: $url"); produces no #post7879 to the end of the url but the redirect template that it submits to does and the same $url is used. Completely baffles me. I tried playing with the code in the quote but I couldn't get it to work, any ideas?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04319 seconds
  • Memory Usage 2,274KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete