Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 09-04-2002, 11:01 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that worked but now it shows

My Usergroup id is 10
My Post Count is 9

@ the top
Reply With Quote
  #12  
Old 09-04-2002, 11:15 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
that worked but now it shows
yes it is supposed to show this, because these lines for debugging purposes only (=tracking the problems).

And it showed me that there is nothing wrong with the code, you werent just trying with either a correct usergroupid or post number..

You can now delete the code you added..Your hack is working ok..
Reply With Quote
  #13  
Old 09-04-2002, 11:16 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

niceone d00d you da man
Reply With Quote
  #14  
Old 09-05-2002, 12:07 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work Logician thats what i usually do to test my stuff to... if somethign isn't working i'll echo it and see whats up with my variables brilliant as always... regards...

btw good thing you recognized the usergroupid = 2 i would've felt dumb

g-force2k2
Reply With Quote
  #15  
Old 09-06-2002, 12:10 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now i took that out it don't work
Reply With Quote
  #16  
Old 09-06-2002, 06:06 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by wolfe
now i took that out it don't work
wolfe it's impossible because these lines are absolutely irrelevant to what the hack is doing.

Try this:
Set a user's post count to 9 via PHPmyAdmin.
Login as him.
Post 4 messages.
And after each post check if the usergroup has changed.

You'll get how the hack works then. You are always missing the fact that hack will change his usergroup ONLY when user has exactly 10 posts (and he posts a new one). So if you try when he has 20 posts it will not work. If you want it otherwise you can use

PHP Code:
if($bbuserinfo[posts] >= 10 AND $bbuserinfo[usergroupid]==2) { 
line instead (as a first line).
Reply With Quote
  #17  
Old 09-06-2002, 06:22 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WHy would you want to do that? Why not just use the user title thing instead? That's what I did and since members wanted a Custom Title also I made a profile field for Custom Title and just added that profile field to be displayed under the user title.
Reply With Quote
  #18  
Old 09-06-2002, 09:27 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by [D]Vincent
WHy would you want to do that? Why not just use the user title thing instead? That's what I did and since members wanted a Custom Title also I made a profile field for Custom Title and just added that profile field to be displayed under the user title.
I think he is not trying to assign a custom title. His goal may be to grant them other features via their new group like PM rights/access to certain forums/right to post in certain boards by access masks etc.
Reply With Quote
  #19  
Old 09-06-2002, 11:11 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah thats it also d0d say this code here

Code:
if ($post[posts] > 1000)
 	{ $pips = "<img src=\"images/pip21.gif\" border=0>"; }
elseif ($post[posts] > 950) 
	{ $pips = "<img src=\"images/pip20.gif\" border=0>"; }
elseif ($post[posts] > 900) 
	{ $pips = "<img src=\"images/pip19.gif\" border=0>"; }
will the top one chage to the pip21 when on 1000 or 1001
Reply With Quote
  #20  
Old 09-06-2002, 11:13 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also is there a way to make it for all member if someone is deleted in the admin CP it make them a ignore user and they are ignored to everyone else
Reply With Quote
Reply


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:44 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.04534 seconds
  • Memory Usage 2,277KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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