![]() |
I'm getting errors for everyline that has "$DB_site" in it. I think this is the question you've answered above, but do I just place this with my database username? Or what?
|
Anyone know how to make it display a default avatar if a member does not have an avatar?
|
You might want to try the default avatar mod for users, or change your avatars to file based instead of database type. However, Currently I am really too busy to work on any coding at all. If someone feels upto making some changes to the above code, I will repackage the zip file above with their fixes and so on and I will add credit where credit is due.
I would appreciate help from anyone who is interested in expanding this addon. :) |
Still looking for help to speed this hack up. :) The updated Avatar fix is apparently working just fine.
|
just installed, seems to work fine altho;
it shows both the User's logged in details (PMs, avatar etc) AND the 'Welcome guest, sign in etc etc) stuff, can it not be an either or? (as I'm loading the php page in a small 495x150iFrame and it can be all squashed and needscrolling when all that info is shown. *edit* - right kept playing about with it, took out the avatar and the 'top poster, top thread starter' bits and took out the 'welcome guest, login' bit so it would only show the users details when they came onto the page. thing is, NOW if ur not logged in, it just shows a blank page :ermm: am probably doin sumthin wrong, am a n00b to VB like, just recently switched over from phpnuke. |
I am not sure what you mean.
Your script should look exactly like this: https://vborg.vbsupport.ru/attachmen...chmentid=17770 Only with your information replaced. Can you please post a screenshot of what your script looks like? I think you may have changed something that you shouldnt have changed. Did you set your cookies to your .domain.com? For example mine would be, .mogusland.com. You also need to ensure that all the paths and places to edit INSIDE the file are changed as per the instructions. :) |
btw when i visit your boardstat.php file.. i get header errors. You do not need to add any body or head tags to this file.
|
Does this hack work with vb3.0.3?
|
Quote:
great hack! ;) |
Quote:
|
Installed and works perfectly...
For those that use html pages with ssi... simply include using: Code:
<!--#include virtual="forum/boardstat.php" --> Great hack, just what i was looking for! Live on www.majorfm.com/main.shtml |
Glad you Enjoy it Major, this hack has been the same besides a minor update now and then. I am planning to rewrite it in the future so it could possibly share vbulletin templates or have more information in multiple areas of your site. basically, I was thinking of setting it up so people who want vbulletin stats like this don't need a vb portal system. With a portal system like the ones offered, your design styles are severly limited. :)
Glad you enjoy it and wait for the future update. |
tiny problem...
Quote:
Quote:
...and yes i love it, i have been looking for this for ages, i have tweaked the html a bit as you will see at: http://www.majorfm.com/main.shtml for guests and members... neatened it out a bit... felt it was a touch cluttered... :squareeyed: |
The stats works fine if I view the page, boardstats.php.
When I included into into another php page, it works fine if I'm logged in. However, if I'm not logged in I get the following error: Unable to add cookies, header already sent. |
I figured out a workaround. It doesn't give all the board stats, but it's suitable for now.
|
Not sure what you are referring to there. It pulls the same stats as if it were on your forums. Are you trying to display all posts counts ever? What would be the point of that ?
|
One small issue.
1. Login using this script. 2. Go to your forums. (I added a link to my forums in the script) 3. Logout at your forums. 4. Return to this script. 5. Page is cached, still shows you logged in even though cookies have been cleared etc. Hit reload/refresh and the correct page is displayed showing login boxes. In the script code, I added the following at the beginning of the HTML code but the page still wants to cache. Is there a work around for this? I basically just dropped the php file in my forums dir and running it from there - not #included in HTML page. Quote:
|
Quote:
|
A little success. Per an article at Microsoft, I added an additional <HEAD></HEAD> tag set after the </BODY> set. In both sets and put in:
Quote:
Thanks for the great script!! |
sorry, not sure how to, how do i add the code to my php file to call it over?
cheers |
AXI the instructions are in the zip file and all over this thread, use a php command or a ssi include.
I have never had any problems with the script wanting to cache. Perhaps your browser settings are keeping stored pages longer and not refreshing. im still at a loss Major, do you have any other hacks installed which may affect the post counts? |
actually this doesn't display the stats correctly. if you have deleted posts or threads in your forum, but not physically deleted them, it will still show up in these stats, but it doesn't show up in the forum stats. here is the code i use to grab the stats from the forums itself.
PHP Code:
|
Quote:
The numbers numbers were meant to be an accurate account of total posts, if something is soft deleted, its not really gone, just hidden. I say, if your going to delete something... just delete it lol ;) |
if you delete it you lose the IP address of the poster. if you have a person who many be a repeat offender, soft deleting posts will allow you to see the other posts made by the same IP. obviously doesn't work for everyone, but it does work for quite a bit of people. if you hard delete then it is gone and there is no record. :/
|
Thats why there is user notes. ;) =)
|
but you have to sort through the notes. with this, you just click the ip link in the post and it tells you everything. :)
|
How do you get around the
Quote:
|
does this work with 3.5?
|
*bump*.. Anyone know if this works with 3.5?
|
Quote:
|
I found out why its doing this, but i dont no how to change it... its caused because the cookies are being stored in the domain on the non-vb site. when you hit logout, it loging out cookies on vb forum, and the cookies are seperate...
|
All times are GMT. The time now is 04:16 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:
|