![]() |
Admin CP > Language & Phrases > Phrase Manager
I think you mean variables? (You know, those things with funny dollar signs in front of them. ;)) |
Still doing my head in this one.
There is a variable that displays how many times a thread has been viewed. There is also a variable that displays how many posts you have made. Its not actually correct, but what code would we need to display in order to combine these 2 and output the result. so if view count is called $viewed and postcount is called $posts then what would be the method for us to create a new variable called $total=$viewed*$posts for specific user ID. Perhaps I am barking up the wrong tree lol. Anyways, its just bugging me is all :) --------------- Added [DATE]1251500131[/DATE] at [TIME]1251500131[/TIME] --------------- So essentially after doing some digging. I wanna do this: ( must be based on USERS threads, and the thread views of those threads ) $totalread=($post*$views) $vbphrase[totalread]: $totalread[totalread] SO how do I define the phrase for totalread and its associated variable. And where lol Also how do I wrap conditions round this, so that it echoes the results of THAT users threads and thread views, to echo the correct totalread value. So that we may place it in postbit etc. Ste |
Quote:
|
All times are GMT. The time now is 08:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|