![]() |
Anyone going to attempt this working with permissions?
|
Whenever I run forumhome_stats_member with its code it tells me this
PHP Code:
PHP Code:
Edit: nvm, in his // ### TOP 5.... i had only put one slash killing the whole thing lol |
is there a similar hack that would work on a non-forumhome page? also the lastest forum topic looks nice on the xamira site. is there one that i can put on a non-forumhome page as well?
thanks |
does this work with VB3.0.1??????????
sorry new to this stuff |
So there is nobody that will be willing to make this work with permissions? :(
I am disappointed |
Quote:
whining gets you nowhere :) |
Can somebody PLEASE tell me whether this works on version 3.0.1????????????????????
|
yes it works :)
|
Quote:
Thanks. |
The new version looks excellent - so when do we get it? :)
|
Quote:
Quick question. How many queries does it add? and how is the load on MySQL?? Right now I have on forum Home. Page generated in 0.32909012 seconds (94.71% PHP - 5.29% MySQL) with 10 queries. |
Great hack. I actually didn't follow most of the directions because all I needed was the stats that it gave, but I didn't display them in the manner stated in the install file. :D But again great hack. :D
|
there has been no real change in the mysql some added if then else statements for the username truncation but that bout it so any server load should be minimal
|
I want to install this hack but after opening my index.php file I cannot find the following text anywhere.
'forumhome_subforumseparator_post' I've searched through 5 times and pasted the text into MS word so that I could do a search for the text which it didn't find. I run VB 3.0.1 which I was told earlier in the thread is ok. PLEASE HELP!!!! |
Can anybody please tell me where it is as per above message?????
|
Quote:
2nd, it's near the top of the document, around line 45, under this section. PHP Code:
|
I dont have any section with pre cache templates and data - I know I'm not being dumb and its deffo not there
I'm getting worried now as i seem to have this section missing Help please |
Quote:
Can you paste the first few lines of your index.php page? |
Here's a section at the start of my index.php file - hope its not too long
Hope you can help INT)); if (! is_array($foruminfo)) { $forumid = -1; } else { // draw nav bar $navbits = array(); $parentlist = array_reverse(explode(',', substr($foruminfo['parentlist'], 0, -3))); foreach ($parentlist AS $forumID) { $forumTitle = $forumcache["$forumID"]['title']; $navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle; } // pop the last element off the end of the $nav array so that we can show it without a link array_pop($navbits); $navbits[''] = $foruminfo['title']; $navbits = construct_navbits($navbits); } // ### WELCOME MESSAGE ################################################# if ($bbuserinfo['userid']) { // registered user $showmemberwelcome = true; } else { // guest $showmemberwelcome = false; } $today = vbdate('Y-m-d', TIMENOW, false, false); // ### TODAY'S BIRTHDAYS ################################################# if ($vboptions['showbirthdays']) { $birthdaystore = unserialize($datastore['birthdaycache']); if (!is_array($birthdaystore) OR ($today != $birthdaystore['day1'] AND $today != $birthdaystore['day2'])) { // Need to update! require_once('./includes/functions_databuild.php'); $birthdaystore = build_birthdays(); DEVDEBUG('Updated Birthdays'); } switch($today) { case $birthdaystore['day1']: $birthdays = $birthdaystore['users1']; break; case $birthdaystore['day2']; $birthdays = $birthdaystore['users2']; break; } // memory saving unset($birthdaystore); $show['birthdays'] = iif ($birthdays, true, false); } else { $show['birthdays'] = false; } |
Quote:
|
thanks for the great hack :)
|
i ahve version 3.0.1
|
Quote:
PHP Code:
|
Quote:
|
Haven't even started, ive been working on my own sites for the time being. But it shouldn't be long once I do start.
|
Just wondering, can you make it into 'Top 10' ?
Thanks |
that can be easily done by change 5 to 10 on that bit of the code
PHP Code:
|
on this one specific forum in my forum the top 5 doesnt count any threads or posts made in it...Whats the problem?
|
This really does not work with usergroup permission as there are replies in group-owned forums are not shown on the stats even when you are logged in and have permission to view such replies.
|
have have not done any work to this hack lately, I will look into and release a new version asap. Maybe two-three weeks as I am busy with work.
|
I am wating for this hack.:)
|
I installed this and it works great...only problem is that we have a forum setup for mods and admins to talk. when we post in that forum those also show up in the Latest Posts section. Although regular members cant read the thread they can see the title. Is there any way around this?
|
Quote:
PHP Code:
|
sorry, wrong thread
|
Thanks very much, changed the code a little and popped this on my vbAdvanced homepage, works a treat!
Clicked install |
Thanks for the help - worked fine
|
Great hack, installed it without problems!
Just a question, is it possible to change the topx-posters into the topx-posters in the same forumids as the newestthreadtopx? (So it would display the topx posters in 1 (or more) specific forum(s)) Thanks! Hakkie |
Would be neat, is this could turn into to say to see how well usergroups on the site are doing as well.. Maybe see things like, total members in the user group and posts.. Maybe even whose the newest/oldest member of that group based on join dates.. Dunno, could this be some sortof add on??
|
Fantastic!! Amazing!!
;) |
Anyway to prevent it from showing Priviate/locked forum posts in the top forum post list?
|
All times are GMT. The time now is 02:37 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:
|