Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Naxon] Global Variables Details »»
[Naxon] Global Variables
Version: 1.1, by Naxon Naxon is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 08-12-2007 Last Update: 08-12-2007 Installs: 12
 
No support by the author.

Please note that this mod is in BETA stage and it isn't contains a lot of variables...
In the future (next version) I'll add more variables.

Variables List:
Quote:
$naxon[userid] - User's ID.
$naxon[username] - Username.
$naxon[usergroup] - User's group ID.
$naxon[userposts] - User's post count.
$naxon[userkarma] - Users karma (reputation).
$naxon[usermail] - User's email address.
$naxon[ip] - User's IP.

## Added in version 1.1 ##

$naxon[totalforums] - Total number of forums.
$naxon[totalcats] - Total number of categories.
$naxon[totalpms] - Total number of Private Messages.
$naxon[totalthreads] - Total number of threads.
$naxon[totalposts] - Total number of posts.
This Modifictioin Is Running Queries !!

You can use those variables wherever you want !

Just Upload The Product !!

Next version - more vars

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 08-13-2007, 08:31 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post reserved.

Version 1.1 Released: New Variables
Variables added in 1.1:
Quote:
$naxon[totalforums] - Total number of forums.
$naxon[totalcats] - Total number of categories.
$naxon[totalpms] - Total number of Private Messages.
$naxon[totalthreads] - Total number of threads.
$naxon[totalposts] - Total number of posts.
Reply With Quote
  #3  
Old 08-13-2007, 08:35 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not to be rude, but what is the point of this?
Reply With Quote
  #4  
Old 08-13-2007, 08:45 PM
Cole2026 Cole2026 is offline
 
Join Date: Feb 2004
Location: Pittsburgh, PA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SirAdrian View Post
Not to be rude, but what is the point of this?
Yeah, doesn't the userinfo array carry all this information?
Reply With Quote
  #5  
Old 08-13-2007, 08:47 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all this variables existists without your plugin
so it is just extracode that have to be executed and extramemory because you are not using & ( don't know whats the exact name on english)
Reply With Quote
  #6  
Old 08-13-2007, 08:53 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ I know, I'm doing now a new version with new variables.
Reply With Quote
  #7  
Old 08-13-2007, 08:54 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol?
Reply With Quote
  #8  
Old 08-13-2007, 08:57 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same idea; https://vborg.vbsupport.ru/showthread.php?t=133923? but again, useless as all this is already available by default.
Reply With Quote
  #9  
Old 08-13-2007, 09:25 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.1 Released: New Variables
Variables added in 1.1:
Quote:
$naxon[totalforums] - Total number of forums.
$naxon[totalcats] - Total number of categories.
$naxon[totalpms] - Total number of Private Messages.
$naxon[totalthreads] - Total number of threads.
$naxon[totalposts] - Total number of posts.
Reply With Quote
  #10  
Old 08-13-2007, 09:32 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would use the forumcache instead of your query for the forums, because if someone don't have the rights, he shouldn know how many forums exist in my eyes

for all other things the same..
just want to help
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 04:25 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.04393 seconds
  • Memory Usage 2,289KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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_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