![]() |
ok, try this then in the plugin, find this:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thank you for taking my rewuest into consideration.
However, I'm getting this error when I installed it. Code:
Database error in vBulletin 3.5.4: |
What do you have for your first forumid? it looks like 0. You need something for your forumid. Also, you may want to edit your code to remove your IP address and username.
Also, what version of SQL are using? This will only run on 4.1 or higher. |
Hey christianb,i was wondering does this version only work with 3.5.5 or will it work ok with 3.5.4 as well?I tried installing it but i cant seem to get it working with 3.5.4 is there a version of this mod for 5.4?
|
Yes, it does work with 3.5.4 (that's what I'm running). What kind of problem are you seeing?
|
I think it may be due to me trying to use it in the header template rather then ForumHome as my ticker area is in the header,When i add the approriate mod and import the xml i set the forum id to "2" and set height width ect but nothing shows in the area at all.
|
Quote:
Quote:
Do I have to try these things also? |
EDIT:
Made the changes but not any differences.. |
@bhxtyrant - it won't work, as far as I know, in the header. It will only work in the forumhome template.
@Eagle Creek - Those are the same changes in the product I posted earlier for you. Those changes are to be made in the plugin. If you go to your Plugin System => Plugin Manager => find vB News Ticker under forumhome_complete and click on [Edit] on the right side - it will give you the option to edit the plugin. |
I think there is something really wrong with your code.
It just take up to 20 seconds? |
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:
|
That's cool :D.
All of my news items are underlined. At your screenshot they aren't. What's 'wrong'? |
That happened to me one time because I was playing around with my FORUMHOME template and accidentally removed $spacer_open (right above where the $vbnews_ticker goes). Check there to see if it is located there. If not, you may want to put it in there.
|
Ahh.. My members don't like it.. :(.
But I have more forums. I will support this hack till the end! :D. |
Version 1.0.2 makes my forumhome load even slower (yes I did the edits to the php).
I'm not sure how feasible this is, but why not just include the latest thread titles via RSS instead of queries into the db. I know we implemented something like this on our main website, where we get the latest threads from a specific forum in vBulletin. I have to ask my co-admin how he did it. Until then, I'm gonna have to disable this plugin. 14+ seconds is just too much, and sometimes the page doesn't load at all until you refresh again. |
How many forums were you pulling these from? Also what other plugins were you running with this (in forumhome_complete)? I found this mod doesn't play well with vbshout, for example.
|
Quote:
|
It should be ok then - I don't know why the delay. I'd be interested in the RSS transfer as that might speed things up - but I'm not sure how to do that. Of course, I've always had trouble with using marquees. I will be looking into speeding up the query though.
|
You fixed it? (cause I don't see your reply anymore)
|
I thought I did. lol
I fixed one thing, but removing that line cause it to pull more forums that were not chosen lol. The only reason why it was in there was for a preview - but for some reason it broke something else. |
Ok, silly me, accidentally removed the WHERE statement because I thoughtlessly left it on the same line as the one I needed removed.
anyways, here's the potential fix (again)... @Buraq (and anyone else who may be having a slow response time) - try editing the plugin and changing the query... Find this: PHP Code:
PHP Code:
PHP Code:
This will be fixed in the next version. |
will this work with 3.6
|
Yes :)
|
This appears to be a great hack and thank you for offering it. However, I had to remove it because it caused delays with members trying to post on the forum and every now and then an error message that the page could not be displayed would appear. Anyone else having this and is there a way to fix it? Thanks.
|
Which version did you use? Did you try the legacy version? Just curious.
|
Quote:
I will this version and see what happens. Thanks for the reply! :) |
Quote:
I am trying to find out how to get into forumhome_complete to add this hyphen. I am able to get to the edit section of the plugin manager but don't know how to get where I need to go for the edit. Thanks! |
Actually, you don't have to do that now - its in the adminCP :)
Just put something like Code:
- Don't forget to click install :) |
Quote:
I have to see if there is a way to change the colors and if you can put the feature on other pages, not just on forumhome. If so it will even be more awesome! :D |
The new version I changed it from forumhome_complete to global_start and I was able to use it in the header and on other pages. Just play around with that.
What did you have in mind on the colors? |
Quote:
As for the colors, it will probably be easier just to show you the hack on the forum. We do have several styles but it blends in too much with the surroundings. I'm still trying to decide on colors but take a look if you get the chance. Plus, other members here can see how well your hack is working! :) Click here |
All times are GMT. The time now is 05:01 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:
|