![]() |
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: http://24.132.14.110/images/personalviews.jpg in showthread.php Find: PHP Code:
PHP Code:
Find: Code:
Posts: $post[posts]</smallfont></td> Code:
Posts: $post[posts]<br> have fun |
Wow, so simple yet so impressive :)
Thanks a lot :) |
Do I place the code:
Code:
$personal0 = $DB_site->query_first(" |
Quote:
|
It is not working for me no matter what I do, I run version 2.0 and have edited everything but nothing shows.
|
weird are u sure u did it in showthread.php and edited the template?
and do you have icq its easier to talk |
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. |
is there any reason this line is included?
Code:
$personal= 2*$userinfo[posts]+$personal0[personalviews]; Code:
$personal= $personal0[personalviews]; |
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> |
Is it possible to add this also to the user profile under last online
below in the jpg. Joey https://vborg.vbsupport.ru/ |
All times are GMT. The time now is 01:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|