vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   When guest click on forum. Redirects them. Based satan's hack. (https://vborg.vbsupport.ru/showthread.php?t=47725)

Logik 01-14-2003 10:00 PM

When guest click on forum. Redirects them. Based satan's hack.
 
----------------------------------------------
Information!
----------------------------------------------
Hellsatan created a hack that makes it to where a guest clicks on 'New thread', 'New post', 'User cp' it redirects them to the registration page. Well i decided to make a little addon. I made it to where when they click on a thread on the forum index, it redirects them. ;). So give me feed back. Thanks.

Logik 01-15-2003 12:06 AM

Give me some feedback on if this is useful. Thanks ;)

Martin64 01-15-2003 12:40 AM

Hum, it says "using FireFly's hack" in the thread title :)

Logik 01-15-2003 12:44 AM

Fixed.

Herman 01-15-2003 01:43 PM

<font size="1">Nice job Logik!

-Shift</font>

Logik 01-15-2003 04:46 PM

If you use it please click install. .Thanks ;)

Logik 01-16-2003 02:24 AM

I guess no one likes this. Being my first hack :(

Tim Wheatley 01-16-2003 01:48 PM

Na I doubt it's that. It's just that I only need up to what satan sorted. Not threads too - but nice work. :)

mx3 01-16-2003 09:20 PM

sounds good to me. nice job, maybe i'll install later ;)

Logik 01-16-2003 09:52 PM

thanks ;)

Logik 01-17-2003 07:29 PM

I guess this hack is worthless? Usually they get like 100 post a day :(

Chris M 01-17-2003 08:13 PM

Nice work:)

Satan

Logik 01-17-2003 10:33 PM

Satan.. :). WB.. Anyways. Hope you dont mind that. And also imma make another hack here shortly. Might release tonight.. Dont know. If i even make it.. I have alot of time on my hands, with my site, and school ;)

sajjid 05-22-2003 05:20 PM

this hack siuts me just fine only thing i like it to do is when person is redirected instead of register i want login page because there is also a link for register there plus if someone is not a member they have a chance to login

// start
if ($bbuserinfo[userid]==0) {
eval("standardredirect(\"".gettemplate("redirect_g otoregister")."\",\"register.p hp?s=$session[sessionhash]&action=signup\");");
}
// end

many thanks

Logik 05-22-2003 11:54 PM

Glad you liked.

GunsNetwork 02-11-2004 03:08 PM

What could we do to enhance this hack. So that we can prevent regular members to certain forums. Example: You have a multiple forums and a few of them are for members who paid. It would be nice if when a member can see the forum and click on it a message pops up and say you have to pay in order to view this forum entirely. Is there a way you can limit a forum to like only the threads they can read to only what was posted that day?

Idea here is to allow the regular member the opportunity to view some of what is in the forum so they can say "hey I don't mind paying some money to view this forum".

SEShady 02-25-2004 06:33 PM

I am trying to get it to redirect to the login page. I don't want it to go to the register page. I am currently running 2.3.4. Here is the code in the original hack:

PHP Code:

// start
if ($bbuserinfo[userid]==0) {
    eval(
"standardredirect(\"".gettemplate("redirect_gotoregister")."\",\"register.php?s=$session[sessionhash]&action=signup\");");

// end 

Can someone give me some help?

Thanks,
shady

Logik 02-26-2004 09:34 PM

Whats the url/php file for the login page??

YLP1 04-03-2005 06:54 PM

Question: Does this mod include Satan's or do we have to install both to get both benefits?


All times are GMT. The time now is 08:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01498 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete