Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Quick Registration Hack v1.0 (any location!) Details »»
Quick Registration Hack v1.0 (any location!)
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-03-2002 Last Update: Never Installs: 42
 
No support by the author.

As required [ Here ] by Reverend

What does this hack do? Allows for quick registration of users!
When doing usergroup permissions and restricting access to alot of things you can use this little hack to call a quick register instead of Showing No Permission!
It allows for you to also disable the option in the Registration Settings
For instance if you restrict viewing in thread for guests they will get the normal empty forum with no threads and also they'll get a quick registration form!
Enjoy! Suggestions? Questions? Comments? [ g-force2k2 ]

*Notice: This hack doesn't include Coppa users. So if you rather have users join as Coppa if they're suppose to be then probably this isn't the hack for you

What to do:

+++++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ Queries to Run (1) +++++++
// +++++++ File Modifiactions ( ? ) +++++++
// +++++++ Template Modifications ( ? ) +++++++
// +++++++ Templates To Add (1) +++++++
+++++++++++++++++++++++++++++++++++++++++++++++++

I tested this hack on the forumdisplay.php but you can use it anywhere

Instructions in the php file attached just open it in notepad... sorry but once again no screenshots... would appreciate if someone could attach some thanks... Enjoy...

g-force2k2

Edit: Zip updated thanks to Reverend for showing me an error in instructions

Show Your Support

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

Comments
  #22  
Old 07-05-2002, 04:28 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 07-05-2002, 04:52 PM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe,got there in the end.Working perfect.Many thanks.
Reply With Quote
  #24  
Old 07-05-2002, 05:15 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 07-05-2002, 05:28 PM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmmm....i replaced the code and it has gone back to the "no posts in the last ## days" screen.
Reply With Quote
  #26  
Old 07-05-2002, 05:40 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 07-05-2002, 05:50 PM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

g-force u r a star.

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.
Reply With Quote
  #28  
Old 07-05-2002, 05:55 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 07-05-2002, 06:00 PM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep,i see what you changed.The top bar fontcolor.
Looks a lot better.
Reply With Quote
  #30  
Old 07-05-2002, 07:16 PM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

g-force,sorry to be a pain.
Using this hack,is there anyway i can let guests still view certain forums/threads.
Reply With Quote
  #31  
Old 07-05-2002, 07:24 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

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 11:39 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.12594 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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