![]() |
HELP, my stats page has been working great and then I went to turn off the Use vbPortal Weblinks Additions? and then I get this
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cnczone/public_html/vbstats.php on line 353 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cnczone/public_html/vbstats.php on line 354 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cnczone/public_html/vbstats.php on line 355 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cnczone/public_html/vbstats.php on line 357 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/cnczone/public_html/vbstats.php on line 358 Table 'cnczone_cnczoneforum.nuke_links_links' doesn't exist |
Does anyone know how to add the other options available in the demo version - http://www.talkloud.net/forums/vbstats.php ( [Stats] [Referring Sites] [User Styles]
[Posters] [Forums/Threads] [Attachments] [Recruiters] [Browser/OS] [Display] [Time Zones] [Regions] [Errors] [Your Info] [Search] )? I would really like to add the time zones and the other options. Also does anyone know how to place the the referring urls box on my forum homepage and add a statistics link to the page? Currently there seems no way for my visitors to reach the stats page. Thanks for any help in advance. |
Quote:
I don't really understand what i am supposed to be with the above code, i did download the zip file and have uploaded to my site and added the template, but there still is no stats on my homepage - www.hostcompanies.com/forums Have i missed something? Any help really really appreciated. |
I am having an awful lot of trouble trying to work out addon forumhome hack which is downloaded from here - https://vborg.vbsupport.ru/showthrea...06#post201406.
I have done exactly as the instructions have stated but nothing has changed on my homepage. I noticed that others have had this problem, First - https://vborg.vbsupport.ru/showthrea...821#post213821 Now the solution mentioned here is something about changing PHP Code:
I tryed changing the above code to PHP Code:
So i began my search again and i found this, Second - https://vborg.vbsupport.ru/showthrea...465#post232465 Bane mentioned something about adding $vbstats in the forumhome template? I really dont understand.... :( Could someone help me.... id really really appreciated it, i have spent hours going through the posts 1 by 1 and after about 60 and racking my brain to try to understand the solution i am near to giving up. Can anyone help ...? Problem Fixed, for anyone wishing to display the stats on their homepage this is what you do - in clear instructions 1) Goto this post and download the attachment ( addon forumhome.zip ) - https://vborg.vbsupport.ru/showthrea...06#post201406. 2) Inside the instructions, you must add some code to your index.php file. Add the code and now search for - // Today [FireFly] Just after that code insert PHP Code:
3) Follow the instructions in the attachment and make the template vbstats_forumhome with the code provided. 4) Now here comes the confusing part - it also was not mentioned in the instructions - Find the template forumhome ( under the Forum Home Page Templates catagory ) . At this point it is important to point out that forumhome is NOT the same template as the one you just made in the instructions. 5) In the forumhome template add $vbstats where you want your stats to appear on your forum homepage. For people not familiar with php code, some good advice is to find $birthdaybits and add $vbstats below this. 6) Now go to your forum and you can see how the stats have been added. Even for people that do not know php code, you should be able to work out how to change where the stats appear by going back to the forumhome template and changing the location of $vbstats 7) Be pleased you did not spent 20 hours plus working this out like i did :ogre: |
Hopefully someone can help me. I DLed the stuff, read the install readme and followed all the directions. Up until Step 7 I had no problems at all, and I did successfully finish & upload all file hacks.
What happened with step 7 is that although I DID follow the directions and added include("./vbs_counter.php"); to my phpincludes template, so that my template looks like this: // This code is PHP4 only: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); include("./vbs_counter.php"); when I click "view vb stats" in my control panel I get this message: vbStats Error! Be sure to add this line to your phpinclude template: include("./vbs_counter.php"); you can find you phpinclude template in your vbulletin admin panel and in the menu templates click |edit| you should click on the set you wish to edit and scroll down until you see the name: phpinclude Your template should look something like this: // This code is PHP4 only: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); include("./vbs_counter.php"); __________________________________________________ _ I don't know what to do. I've triple checked to make sure that I added that line, and my phpincludes template looks EXACTLY like what the error page says it should. The vbstats config and the exclude URL pages work perfectly. I read through the first 17 pages of this thread looking to see if any other users experienced this same problem but I didn't find any, sorry if I overlooked something and am asking this question again. Hope someone can help, thanks! :) |
Does anyone know how i may get the Link Queue to appear on my homepage?
I have already installed the addon forumhome hack, i would like to have the Link Queue appear in my forum homepage along with the other vbstats statistics - http://www.hostcompanies.com/forums/ Does anyone know how to do this? |
I have some broken images on the vbstats.php page....Im not sure why...
its under browsers: and Operating system: Besides that the hack worked fine...I dont think im going to use it, but I wanted to play with it on my test site.. thanks in advance for help on images problem.. |
Thanks a lot Bane... this really helps!
|
call to undefined
|
sorry about my last reply, i had an error that said, called to undefined function adminlog()
|
All times are GMT. The time now is 11:52 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:
|