Log in

View Full Version : What MOD is this please


TimberFloorAu
01-06-2009, 10:58 PM
As the title suggests, I have just been on another forum and seen this done.

Example:

Join Date: Oct 2008
696 posts, read 120,497 times
Reputation: 117

This is displayed in Postbit.

Link Here: http://www.city-data.com/forum/alabama/530076-anyone-buy-schwans.html

Any suggestions how we can display Number of times a users post(s) have been read ??

--------------- Added 07 Jan 2009 at 03:42 ---------------

Also in ABout Me:

Display this ??

https://vborg.vbsupport.ru/external/2009/01/70.png

--------------- Added 1231322753 at 1231322753 ---------------

Any Suggestions ???

TheMic
01-07-2009, 03:33 PM
I'm interested too... someone can help us? :)

thanks in advance!

UKBusinessLive
01-07-2009, 04:18 PM
Why don't you go to that page and Right click, then View Source, That should give you some idea of what they are using ;)

TimberFloorAu
01-07-2009, 07:08 PM
Because its PHP. Plus they have taken out <!--info--> remarks :)

UKBusinessLive
01-07-2009, 07:09 PM
Because its PHP. Plus they have taken out <!--info--> remarks :)

ooops :o

:erm:

TimberFloorAu
01-07-2009, 07:23 PM
lol.

There must be a $phrase for displaying how many times a users posts have been viewed/read , which is the bit I am most interested in.

--------------- Added 1231396370 at 1231396370 ---------------

Any suggestions Please

Dismounted
01-08-2009, 07:24 AM
There must be a $phrase for displaying how many times a users posts have been viewed/read , which is the bit I am most interested in.
It doesn't exist in a default installation of vBulletin. Most likely, it is a compilation of the thread views (i.e find all posts of user, find threads of those posts, total up all views).

TimberFloorAu
01-08-2009, 09:06 PM
Any idea what code we could utilise to create this then ?

Is there a Postview phrase ?
Or threadcount x threadview ?

Dismounted
01-09-2009, 04:50 AM
It doesn't exist in a default installation of vBulletin. Most likely, it is a compilation of the thread views (i.e find all posts of user, find threads of those posts, total up all views).
How you do that is up to you. :) And I will say this again: there is no pre-defined variable for you to use that will give you the "answer".

TimberFloorAu
01-09-2009, 05:16 AM
Cheers mate , and I appreciate your response.

But. lol ( always a but )

I recall, I think... you posted a link a few months back to , vbphrases, which lists all vbphrases available. Just I cannot recall the link details...

Ste

Dismounted
01-09-2009, 07:54 AM
Admin CP > Language & Phrases > Phrase Manager

I think you mean variables? (You know, those things with funny dollar signs in front of them. ;))

TimberFloorAu
08-28-2009, 09:43 PM
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 1251500131 at 1251500131 ---------------

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

Front Range 4x4
10-14-2009, 01:44 PM
Admin CP > Language & Phrases > Phrase Manager

I think you mean variables?

https://vborg.vbsupport.ru/showthread.php?t=179930