![]() |
thanks christian,Is there any hope of getting this to work with the header template?I found another hack here called "Latest Threads IN Marquee" which does work in the header but it doesnt have nearly as many features as yours does such as the ability to pull news from only a single forum id.
|
@Eagle Creek, just out of curiousity, how long does it take to start the forums here: http://www.christianboards.org/forum.php
@bhyxtyrant, I can see what I can do but I'm not sure. It might possibly work but changing the plugin (in the plugin manager) from forumhome_complete to global_start and then trying the $vbnews_ticker where you want it - try that. I've not tested it, so I'm not sure if that will work or not. |
Quote:
First time load, it kept loading and loading and after 400 (!) seconds I stopped it. Second try: 3.156 seconds. After a refresh of the page: 6.453 FORUMDISPLAY: 1.954 seconds |
My average load time (for me) is about 1.7 seconds. I have done a refresh and connected as quick as 1.117. I think distance may play a part in it though.
|
I guess so.. Cause when you say my forumhome takes 6 seconds, I say you are slow :p.
But anyway: The script is slowing down my index. Any change you will re-write the script? (I saw you already added some functions). |
I will look at optimizing the script to make it go faster. I don't like hangups on code and will work on this moreso this week. I have 2-3 ideas I am working on. I have also thought possibly that the location (forumhome_complete) may be part of the issue there.
|
Ok, I believe I've figured out the problem :)
This works for the forumids you are not using. (I will update the readme later today for this.) Go to your plugin (admincp => Plugin System => Plugin Manager) Find vB News Ticker under forumhome_complete, click [Edit] Find (near the top) PHP Code:
If you are only pulling news from 2 forumids, comment out fid3 - fid9 (like below) and remove the comma after the fid2 (as shown) Remove the comma from fid2 if you are commenting out fid3 PHP Code:
For now, this is a manual fix, until I can figure out how to fix this so that it doesn't have to be edited through the plugin. |
I'm using
PHP Code:
Whieeeeeeeeeee! It's working! I can still see there is a delay in loading, but it isn't big (<1 seconds). EDIT: :( no... When I open the page, it takes about 1.5 second. After a refresh also. When I go to a forumdisplay, and at the top I click at the hompage link it takes about 6 seconds :(. EDIT2: Even when I'm direct opening the homepage, is slow again. Strange. |
Ok People,
with the help from Christian (another modification) it's working fine now! It's slowing down a little bit, but that's normal because there's more to load. You almost don't know you have the hack installed :). Thx again David ;). |
Quote:
You need to edit the plugin to make this work. Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:14 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:
|