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)
-   -   Greet Members' Xth posts via Email/PM/Thread automatically (https://vborg.vbsupport.ru/showthread.php?t=39821)

Erwin 11-22-2002 08:47 PM

Logician's hack works beautifully. I installed it recently and it has been working flawlessly - my members love it. Thanks, mate. :)

legendarysk8er 04-08-2003 02:25 AM

I tried opening the php file and it was just a bunch of symbols, was the file corupt or something?

EDIT: Nvm, I got it, nice hack .

midnightz 07-23-2003 11:24 PM

Yummy hack ;)

midnightz 10-08-2003 08:09 PM

Hi Logician :)

Is it possible somehow to have store points given to users to celebrate lets say a 2500th post?

Logician 10-08-2003 08:37 PM

Quote:

Originally Posted by midnightz
Hi Logician :)

Is it possible somehow to have store points given to users to celebrate lets say a 2500th post?

You can add:
PHP Code:

$DB_site->query("UPDATE user SET storep=storep+100 WHERE userid='$bbuserinfo[userid]'"); 

Before hack line:
Quote:

$greeteduserpostsstring=(string)$greeteduserposts;
and it will grant the poster "100" points everytime a user is greeted by the hack.

But please note that it is not a perfect solution because wise users might cheet: After they posted their X posts and get the point, they can delete any of their posts to lower their post count by 1, then repost and get another greeting thus point. ;)

Please do not ask for a fix for it as it is not possible without changing the hack's structure.. :)

midnightz 10-08-2003 08:39 PM

Thank you :)

erikajune 02-08-2004 04:29 PM

I'm having a problem... I installed everything, got no errors but nothing happens when a member reaches the desired post count.

Logician 02-08-2004 05:10 PM

Quote:

Originally Posted by erikajune
I'm having a problem... I installed everything, got no errors but nothing happens when a member reaches the desired post count.

Please double check you installed it correctly. If everything looks all right, make sure you created the hack templates in all your template sets if you have more than one. Also make sure template names are correct (including caps). It sounds like a template problem.


All times are GMT. The time now is 04:07 PM.

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.01125 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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