The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
his post can de found here:
http://www.vbulletin.com/forum/showt...threadid=17116 i wanted to add another feature all credits go to ztsky i dont want any of em.. ok here we go: --------------------- this will add Personal Views to the posts image: in showthread.php Find: PHP Code:
PHP Code:
Find: Code:
Posts: $post[posts]</smallfont></td> Code:
Posts: $post[posts]<br> Personal Views: $personal </smallfont></td> have fun Show Your Support
|
Comments |
#2
|
||||
|
||||
Wow, so simple yet so impressive
Thanks a lot |
#3
|
|||
|
|||
Do I place the code:
Code:
$personal0 = $DB_site->query_first(" SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); $personal= 2*$userinfo[posts]+$personal0[personalviews]; if ($personal0 == ""): $personal0 = "0"; endif; |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
It is not working for me no matter what I do, I run version 2.0 and have edited everything but nothing shows.
|
#6
|
|||
|
|||
weird are u sure u did it in showthread.php and edited the template?
and do you have icq its easier to talk |
#7
|
|||
|
|||
I had someone do it for me, seems I misplaced some of the coding or erased it. Had to re-upload it and we got it all starightened out. There is one thing thoughm can you tell me much about the actual glamor hack? I the same person that installed yours install mine also and he could not get it to work - installed it in the right place, code has been edited and everything, but it is not working right. Edited the member.php and the template asked.
I have AIM: ProgramXnet Sorry about not having ICQ, I have had a lot of people send me crap I never want or ask for so it is gone, I hardly ever have that happen on AIM. Thanks. |
#8
|
||||
|
||||
is there any reason this line is included?
Code:
$personal= 2*$userinfo[posts]+$personal0[personalviews]; Code:
$personal= $personal0[personalviews]; |
#9
|
|||
|
|||
Oh,thank you.
I have this feature a month ago. look this: http://tsing.com/vb/showthread.php?threadid=1742 But in my before post here ,I didn't re-release it. To reach this feature,just do some edit in showthread.php as done in member.php,postbit as getinfo. but you have done it. in my forum I have release it at 05-21-2001 10:36 AM http://tsing.com/vb/showthread.php?threadid=836 this is the post in Chinese: ?? 1 ?? [RELEASE personal glamour FOR VB2] ???ľ??Ǹ???????HACK???????ߣ?ztsky???? ??ͳ??һ????Ա?Ƿ???????????̳????????̳?ܵ???ע? ̶ȣ?????????Ա??????????????룬???и????????? ?ԣ?????̳???ֿ??ԣ??о???ֵҲ???ԡ? ????VB??̳????????????????http://www.vbulletin.com/forum/show...?threadid=17116 ??ʾ ????ת?أ???ע??????~?? 1???? member.php ????eval("\$birthday = \"".gettemplat("getinfo_birthday")."\";"); } ???????? // Find out how many threads this user has started $startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); $starts = $startcount[starts]; if ($starts == ""): $starts = "0"; endif; // end Find threads // Find out how much personal glamour does this user has $personal0 = $DB_site->query_first(" SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); $activity01= $userinfo[posts]-$starts; $activity02= $starts; $activity03= $personal0[personalviews]; $personal= 3*$activity02+2*$activity01+$activity03; if ($personal2 == ""): $personal2 = "0"; endif; // end Findhow much personal glamour 2???༭ Ĥ?? User Info Display Templates ?е?getinfo ?? <tr> <td bgcolor="#efefef"><normalfont>????????:</normalfont></td> <td bgcolor="#efefef"><normalfont>$userinfo[posts] (ÿ?? $postsperday ??)</normalfont></td> </tr> ?????? <tr> <td bgcolor="#f7f7f7"><normalfont>????????:</normalfont></td> <td bgcolor="#f7f7f7"><normalfont>$starts</normalfont> </td></tr> <!-- User personal glamour--> <tr> <td bgcolor="#efefef"><normalfont>????????</normalfont></td> <td bgcolor="#efefef"><normalfont>$personal</normalfont> </td> </tr> <!-- End User personal glamour --> 3???? SHOWTHREAD.PHP ????//$post[message].=$post[signature]; ?ں??????? // Find out how many threads this user has started $startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); $starts = $startcount[starts]; if ($starts == ""): $starts = "0"; endif; // end Find threads // Find out how much personal glamour does this user has $personal0 = $DB_site->query_first(" SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); $activity01= $userinfo[posts]-$starts; $activity02= $starts; $activity03= $personal0[personalviews]; $personal= 3*$activity02+2*$activity01+$activity03; if ($personal2 == ""): $personal2 = "0"; endif; // end Findhow much personal glamour 4???????? POSTBIT ?? ????: $post[field2]<br> ????????: $post[posts]</smallfont></td> ??Ϊ ????: $post[field2]<br> ????????: $post[posts]<br> ????????:$personal </smallfont></td> |
#10
|
||||
|
||||
Is it possible to add this also to the user profile under last online
below in the jpg. Joey |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|