vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   End-User Options - Secret Admirer / Crush System (https://vborg.vbsupport.ru/showthread.php?t=61632)

buro9 04-06-2004 07:25 PM

Quote:

Originally Posted by RugBurn
This is just whay my Singles board needs, but I am using 1&1 for hosting and I don't know if it will allow me to set up the table prefixes. They don't really let you access the database manually. Has anyone using 1&1 tried this yet?

It should work anywhere. So long as you have been able to install vbulletin you should be fine to install this hack.

Sure, you may need to create the database table by pasting the code into PhpMyAdmin or something like that (even vBulletin lets you run SQL in the AdminCP!), but the simple bit is that if you had permissions to create the vbulletin database originally and can perform updates (which usually modify tables), then you pretty much should be fine to proceed with this hack :)

RugBurn 04-06-2004 08:12 PM

Thanks buro9. I will look over it again. I am thinking that this may be a little over my head as far as the install goes, but I do want to get it done. Luckily, I think I can get a friend to do it for me.

Majik? 04-06-2004 10:32 PM

Quote:

Originally Posted by RugBurn
This is just whay my Singles board needs, but I am using 1&1 for hosting and I don't know if it will allow me to set up the table prefixes. They don't really let you access the database manually. Has anyone using 1&1 tried this yet?

Why can't you? Install phpMyAdmin to be able to easily work with your dBase in your favourite browser. As for table prefixes, you decide if you're going to use them or not when you install vB initially. If by prefixes your just meaning the new tables this hack uses, you can create them by running the queries in your AdminCP.

RugBurn 04-12-2004 09:32 PM

/me clicks Install

Thanks for this great hack.

RapCheck 07-20-2004 04:23 AM

Install went easy. Appears to be working fine. Thanks.

venomx 09-03-2004 11:27 PM

For this:
$EXCLUDED_USERGROUPS = array(1,3,4,9,12);
Can we leave it blank so everyone can use it?

buro9 09-04-2004 07:35 AM

Quote:

Originally Posted by venomx
For this:
$EXCLUDED_USERGROUPS = array(1,3,4,9,12);
Can we leave it blank so everyone can use it?

You can leave it blank, however you probably will find that you do want to exclude the unregistered users because:
* Spiders such as Google will follow the link and trigger false admirations.
* You can only have 1 unregistered user perform an admiration because of the way the database table works.
* The admired person wouldn't be able to reciprocate against an unregistered user as the unregistered user couldn't be notified by either mail or PM that a match occured.

So whilst you can remove the usergroups such as banned users, etc... you really should leave in the unregistered usergroup as otherwise it will be a bit of a mess,

venomx 09-04-2004 07:44 AM

Yeah never thought about that... Just seen all them numbers and I belive since I am an admin I was in group 1... Why would I want to disallow admins?

buro9 09-04-2004 07:57 AM

Quote:

Originally Posted by venomx
Yeah never thought about that... Just seen all them numbers and I belive since I am an admin I was in group 1... Why would I want to disallow admins?

Look at usergroups in your control panel:

1 = Unregistered
3 = Awaiting Email Confirmation
4 = COPPA Awaiting Confirmation

And then I have a couple of custom ones which I'm sure if you have the equivalent of you want to exclude too:

9 = Miserable Users (See the miserable users hack)
12 = Banned

So Admins, etc can all use it, but those who are anonymous or inactive are excluded, and those whom the board have banned or taken action against are also excluded.

venomx 09-04-2004 08:07 AM

DUH I feel stupid now hehe
I keep thinking when I see 1 that its me because I am user 1..
Have not hacked a board in a long time and just setting up a new site with VB3 and going to shut down an old one that uses VB2* as soon as the new site is set up how I want it.

Thanks!


All times are GMT. The time now is 09:38 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.01202 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_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