![]() |
Perfect, that seems to have fixed it.
Thank you!!!!! Mike |
ok would it be possible and if so how would i do it, but instead of having the most user every online stats, replace it with online today stats? thanks
|
Quote:
|
How would one go about applying this hack so that when a user wants to access this they don't have to go to:
http://www.url.com/forums/home.php Instead, they can go to http://www.url.com ? |
The quickest and easist was I have found is to have a simple HTML redirect page that just sends them to http://www.url.com/forum/home.php when they go to http://www.url.com
|
Hi... I just installed vbIndex and everything is working except the news icons. A blank pic with an [X] in it comes up folled by '.gif" border="0"> News Title' This may have already been answered, but I didnt see anything on the pages I looked at. (I gave up after about page 8).
Thanks, Joe |
All i did was to put this <img src="{imagesfolder}/icons/icon0.gif" border="0"> in the home_newsbit name a gif to icon0 and upload it to the icon dir
|
I need help... :(
I have installed the hack... it works perfect :) except for 2 things: -It says 'No poll available' -No news shows up, only the 'latest threads' and that's it I tried everything, I DO have the variables set correctly, but it just doesn't show up!?!?! please help me, because I REALLY want to get this hack installed :D |
@FlyingDutchman :
recheck ur variables at the top of index.php .. maybe its because the permissions :lick: @LightBringer : i did that thing. put ur new index.php to ur root. and ur forum's index.php is in forum/index.php .. i mean: ..root /index.php -> this is new one.. vbindex thing /forum/index.php -> normal forum index file . here what u have to do : put chdir("forum"); before require('./global.php'); in vbindex's index.php. then modify all ur vbindex templates.. all you have to do is putting "forum/" before all links and imgs it should work :lick: greetz |
Quote:
|
hey dont get me wrong!
may be sometimes u can miss little [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth]s! anyway... :lick: |
Quote:
The one thing I noticed that when I did this hack and created the new forums, news and polls, they don't show up unless there is a new post in them. Could it be as simple as that? Dunno? Could you post a link, if not PM me and I will take a look. I pulled my hair trying to get this thing to work right and am pretty confident now that I know it in and out. Mike |
Quote:
Another thought is you do have $news in your home template? |
any fix for the poll time yet?
I got a dual amd 1800MP proc on a oc3, server load 0.03 atm, running the poll query takes 12 seconds... there HAS to be a better way of doing it ;) |
Quote:
I've never had any problems with the load time, even when the page had 60 queries on it and was on an AMD K6-3 450, still didn't take that long. |
I did post a news thread and a poll
of course i did I just installed the hack, and set the variables and inserted the [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth] from index.php to the new index.php. nothing more, because nothing more is needed... but just doesn't work |
guess it's becouse of database size or something...
I'll see if I can test a little to find out what it is. Becouse that ONE query takes 12 seconds, if I take away that the rest goes in 0 sec's :) // edit It's the LEFT JOIN that does it, it's a major performance hit in mysql, I'll post more info if I can find a solution. (adding indexes will probably speed it up to about 0sec per query ;) ) //edit2 if you have a fairly new mysql server (connect to it and confirm that the query works) replace the LEFT JOIN with INNER JOIN, my results on a 1.4ghz tbird, big database: INNER JOIN: 1 row in set (0.01 sec) LEFT JOIN: 1 row in set (50.18 sec) output is identical of course :) |
Quote:
|
Quote:
|
<a href="http://www.trojanforge.net/" target="_blank">http://www.trojanforge.net/</a> -> demo... i did what i said before..
new index.php is on root and forum index.php is in forum folder.. |
hi..
its me again.. after installing vbindex , my most user online count started to act like user online count.. how to fix? i look into code but .. erm.. :cross-eyed: |
Quote:
|
tnx!
uhmm so is there way to use vbindex with colored online thing.. u can see at my site.. tnx! |
uhmm no luck!
still same.. |
Did you remove or comment out all the code that was shown on the page? That fix does work, you need to wait for the number of members online to decrease to see it working, it works fine on my site now.
I'll just find the secions of code you need to edit for the coloured users on who's online. |
Isn't the who's online already coloured on your site? It seems to be working with the hack that you already have installed, unless you don't want it to look like it does in the attached image.
|
trojanman is mod.. so it has to be in green :P
and also most user online user still go up and down like user online thing :D |
OK, you need to change in the vbindex PHP file:
This: PHP Code:
Code:
// pm Please make sure you backup your file before making this mod, the second part of the code works fine on vBindex 1.0, but hasn't been tested on 1.3. I am not responsible for the outcome. |
after fixing a small typo it gives a error around :
"eval("$activeusers .= "|".gettemplate('forumhome_loggedinuser')."\"; "); " error is : Warning: Unexpected character in input: '\' (ASCII=92) state=1 in and a parse error.. greetz |
For some reason it won't diaplay the code correctly and is missing a \ This is what it should be:
Code:
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";"); |
no luck... still same colors..
also most user online stuff not working.. :) |
If you PM me the vbindex file I will take a look at the code you have.
|
also i cant make new messages table addon to vbindex..
why i want this? if u look into my forum, i am using it like file database,document database and so on.. i want to make additional 3 tables like latest files,documents and blabla but noluck.. i create new template.. edit thread code but i didnt show anything.. any idea? |
Hi,
I PM'ed you the update file, I hope it works, incase ayone else is wondering about this and has this hack installed here is the code: PHP Code:
I am affraid I haven't installed the addons at the moment, but I may try in the future. |
NTLDR tnx!
i fixed some more bugs in codes.. i think its because of my modified vbindex.. also i remove most user online update in code.. so its show only online users and not try to update muo thing.. tnx! hmm i want to add more tables.. like newer msgs from some forums.. how to that? add new templates and codes.. like threads stuff right? |
No problem, gald I could help you out.
To the latest threads from specific forums you need to change and add in again the news code, but this will add alot of extra queries to the page and I wouldn't recommend atting to much more. As you alrady have 50 queries on that page I wouldn't add any more, I belive around 30 is the max that you want to have for any page! |
hmm... anyway i will try and see what i have ;)
|
el3m3nt,
In your English distribution, the home_threadbit template needs to be updated. I think you just missed translating one thing because it says 'Last Post 05-01-2002 05:05 PM von Joe'. No biggie... just thought I'd metion it. Thanks, Joe |
Quote:
My database should be ok, and the server has 2x 800 mhz PIII... the latest threads do show up, but the news and the poll just don't :( I can't give you guys and URL, because it's in a private network... I really need to get this hack to work :( |
Quote:
Where: urltoyourforums is the URL to where the vbindex file is and vbindex.php is the vbindex file. At the bottom of the page you will see something similar to: Code:
Page generated in 0.22719204425812 seconds with 15 queries, |
All times are GMT. The time now is 05:50 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:
|