vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Coding Help! (https://vborg.vbsupport.ru/showthread.php?t=156197)

lutics 08-25-2007 08:20 AM

Coding Help!
 
I decided to muck around with some code. To make my site little unique but now I am stumped.

On the home page I want to display what is in the PostBit_legacy. Like when they post.

http://www.pointlesschatter.com/forum.php

I want it under user stats. Ive tried a few things but it doesnt seem to show the

I tried this code.
$vbphrase[posts]: $post[posts]<br />
Referrals: $referrals

Buy er didn't work. Could anyone point me in the right direction, Ive tried looking for a guide or a mod but cant seem to find anything.

Kirk Y 08-25-2007 05:46 PM

The $post array is only accessible in the postbit templates. You'd use $bbuserinfo[posts] to display the current user's posts on the index page.

lutics 08-26-2007 02:04 AM

Ah thank you. Do you have a list of things I can list on the home page? How to call them I mean? it would be helpful :)



EDIT: ok I found a list of them.

Could someone show me how to show the current avatar please :) Im stuck on that one xD

lutics 08-28-2007 08:52 AM

bump anyone help :D hehe

Dismounted 08-28-2007 09:21 AM

The avatar bit has been posted numerous times by me...Look for the posts I've made recently.

lutics 08-29-2007 08:31 AM

ok thanks


All times are GMT. The time now is 11:47 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.00873 seconds
  • Memory Usage 1,713KB
  • 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
  • (6)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