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)
-   -   Quick Registration Hack v1.0 (any location!) (https://vborg.vbsupport.ru/showthread.php?t=40663)

g-force2k2 07-05-2002 04:28 PM

damn sorry Reverand my bad ;\ it was an error in my instructions... so used to doing it that i didn't recognize the error ;\ no coding error just instruction...

Add this coding:

PHP Code:

// +++++++ Quick Register on Restricting Access [ Start ] +++++++
if($QRenabled) {
  if(
$bbuserinfo[userid]==0) {
    eval(
"\$quickregister = \"".gettemplate('register_quick')."\";");
  }
}
// +++++++ Quick Register on Restricting Access[ End ] +++++++ 

Below the:

PHP Code:

require('./global.php'); 

instead of above my bad... i'll update the instructions... thanks for lasting it out ;)

g-force2k2

Reverend 07-05-2002 04:52 PM

Hehe,got there in the end.Working perfect.Many thanks.

g-force2k2 07-05-2002 05:15 PM

Reverend if you still want to get rid of that 'No Posts in the Last 30 days' you can take this code:

PHP Code:

// +++++++ Quick Register on Restricting Access [ Start ] +++++++
if($QRenabled) {
  if(
$bbuserinfo[userid]==0) {
    eval(
"\$quickregister = \"".gettemplate('register_quick')."\";");
  }
}
// +++++++ Quick Register on Restricting Access[ End ] +++++++ 

And replace it with:

PHP Code:

// +++++++ Quick Register on Restricting Access [ Start ] +++++++
if($QRenabled) {
  if(
$bbuserinfo[userid]==0) {
    eval(
"\$forumdisplay[threadslist] = \"".gettemplate('register_quick')."\";");
  }
}
// +++++++ Quick Register on Restricting Access[ End ] +++++++ 

I just didn't include that if you wanted to use it on other locations instead of the show_nopermission ;)

g-force2k2

Reverend 07-05-2002 05:28 PM

mmmm....i replaced the code and it has gone back to the "no posts in the last ## days" screen. :rolleyes:

g-force2k2 07-05-2002 05:40 PM

then put the coding at the end of the forumdisplay.php

above:

PHP Code:

eval("dooutput(\""gettemplate("forumdisplay")."\");"); 

see if that works better?

g-force2k2

Reverend 07-05-2002 05:50 PM

g-force u r a star. :cool:

Perfect.



If any other members want to see the quick reg box,go
here and click on one of the forum links.Or view the attached screenie.

Apologies,i'm not trying to spam.

g-force2k2 07-05-2002 05:55 PM

Reverend also replace your template with the one attached below... i fixed the zip but after looking at teh screenshots i saw something i wanted to remove ;)

btw im just glad it finally worked for ya :)

g-force2k2

Reverend 07-05-2002 06:00 PM

Yep,i see what you changed.The top bar fontcolor.
Looks a lot better.

Reverend 07-05-2002 07:16 PM

g-force,sorry to be a pain.
Using this hack,is there anyway i can let guests still view certain forums/threads.

g-force2k2 07-05-2002 07:24 PM

yeah i'll see what i can do for you Reverend ;) i can probably do an forum exclusion pretty easily just do you want a number of different forums? one in general? just wondering what you're looking for :)

g-force2k2


All times are GMT. The time now is 07:56 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.01179 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete