![]() |
Quote:
I'll check for that username markup, shouldn't be that hard to modify, but keep in mind that a query is needed for that. It is not an update query so it shouldn't hurt a lot the performance but still for people that are trying to mantain queries to a minimum (like me) an extra query might not sound practical. |
Here is the first one. For people that already installed the hack and want to add how many users have seen the thread:
In the showthread.php file, this: Code:
$+++++ad = @implode(", ",$+++++adarray); Code:
$+++++ad = @implode(", ",$+++++adarray); Code:
Users that have seen this thread: Code:
$total+++++ad users have seen this thread: Those +++ are the word w h o r e that even if its a substring it is still being censored (/me makes a note on not using variable names that might be censored). TXT file updated |
Is there any way to run a query to sort the users who have already seen a thread so it can strat off alphabetically from now on?
Can you just use the code in vBulletin for who is browsing this thread now to get the html markup that it is using already? ;) |
i got this error when i run scheduled task in my admincp
Code:
Warning: asort() expects parameter 1 to be array, boolean given in C:\Apache Group\Apache2\htdocs\forum\includes\cron\threadviews.php on line 41 Code:
asort($+++++adarray); edit:delete the line 41 than it works:D |
Quote:
Code:
if (is_array($+++++adarray)) { |
Quote:
|
Here is another update
As requested by Boofo, to make the users appear with the html markup as they appear in the online users and almost anywhere, at the cost of 1 query. I'm now attaching a txt since I'm getting tired of that censor..... For threads before I added the sorting piece, just create a new user and view the unsorted thread, it will be sorted. |
That's Boofo, not Boofoo. ;)
And thank you, sir. ;) |
That worked great! Thank you, again. ;)
You forgot to add the space after the comma in this line. The names were all running together. But I fixed it on my site. ;) PHP Code:
|
Now I'm getting nothing but DB errors with this. I emailed you about it.
|
All times are GMT. The time now is 07:01 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:
|