vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help Version 2.3.4 (https://vborg.vbsupport.ru/showthread.php?t=62206)

ChrisBaktis 03-06-2004 05:00 AM

Help Version 2.3.4
 
All im trying to do is add the number of referrals a user has to the postbit template. I know it is just a little code to enter...can anyone help?

In a users posts I want the info:

Location
Posts
Referrals

the location and posts works (obviously it is standard) but im new to this and just would like help on what to add after the posts part to show number of referrals.

Any help is appreicated.

Chris

trafix 03-06-2004 05:08 AM

If you are using a version of vb that old ... i would only suggest that you upgrade as there are many security issues there

Dean C 03-06-2004 08:29 AM

2.3.4 is a stable release. It's secure until the next flaw is found - just like vB3 :)

ChrisBaktis 03-06-2004 02:47 PM

some more info....this code is in postbit

<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont></td>

I wanted to also add the # number of referrals this poster had so I added the following between Location and posts

Referrals: $post[referrals]<br>

This was following the other info - now if i change [referrals] to other things (username,joindate etc) they all work - just referrals doesnt - I think the name for the # of referrals is $referrals so I assume that [referrals] should indicate the number of referalls the post username has.

any help?


All times are GMT. The time now is 08:31 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.01032 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete