View Full Version : Latest Threads On Forum Home
Chris M
16 Jun 2005, 20:08
Installation Instructions
Step 1: Upload the .xml file to the Product Manager
Step 2: Modify the FORUMHOME template
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Step 3: Click INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=83230):D
Credits
NTLDR (http://www.vbulletin.org/forum/member.php?u=10435) - For allowing me to port his vB3 hack (http://www.vbulletin.org/forum/showthread.php?s=&threadid=60544) of this
Updates
Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions - If you are upgrading, please delete the previous plugin, and upload the new one - This new plugin also has the uncached template fix :)
Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol :) - To upgrade, simply replace the plugin with the one attached ;)
Version 1.1.2: Simple update to fix a permissions bug again:) - To upgrade, simply replace the plugin with the one attached ;)
Chris
Reverend
16 Jun 2005, 20:38
Getting error at top of page with this:
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 11
Chris M
16 Jun 2005, 20:43
Try changing:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Satan
Reverend
16 Jun 2005, 20:47
Try changing:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
SatanIn the plugin or template ??
Chris M
16 Jun 2005, 20:47
The plugin...
Satan
Reverend
16 Jun 2005, 20:49
The plugin...
Satan
New error:
Parse error: parse error, unexpected ')' in /****************/index.php(450) : eval()'d code on line 46
Chris M
16 Jun 2005, 21:02
I'm not sure then - The original not an invalid arguement here... :ermm:
Satan
Reverend
16 Jun 2005, 21:19
Both errors relate to this line in index:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
???
Chris M
16 Jun 2005, 21:24
Yeh that is the code that calls the forumhome_complete hooks...
For some reason your board is rejecting the foreach in the code :ermm:
What other plugins/hacks do you have installed that utilise the forumhome_complete hook?
Satan
Reverend
16 Jun 2005, 21:26
The only other plugin i use is this one New Posts & Threads Since Last visit (http://www.vbulletin.org/forum/showthread.php?t=82774)
and that uses forumhome_start
Chris M
16 Jun 2005, 21:28
Indeed - I do not believe that this is the cause of the clash...
Hrm - This is a puzzle - Hopefully Zero Tolerance will see this and shed some light :p
Satan
Reverend
16 Jun 2005, 21:29
The latest threads do still display fine though regardless of the error. :confused:
I've taken it off for the moment until a possible solution can be found.
Chris M
16 Jun 2005, 21:32
The latest threads do still display fine though regardless of the error. :confused:
Would you mind turning the plugin on, so I can see for myself?:p
Satan
Reverend
16 Jun 2005, 21:33
Would you mind turning the plugin on, so I can see for myself?:p
SatanTurned back on. http://www.techzonez.com/forums/
Chris M
16 Jun 2005, 21:37
Thanks...
A thought just occurred to me:
Add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
before:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in the plugin code...
Satan
Reverend
16 Jun 2005, 21:40
Nope
Parse error: parse error, unexpected ')' in /****/index.php(450) : eval()'d code on line 47
Chris M
16 Jun 2005, 21:46
Yeh - I have found the problem :(
http://www.vbulletin.org/forum/showpost.php?p=667526&postcount=14
If you view that post, Zero Tolerance explains about there being a bug in the vB Plugin System - Sadly, since this plugin also uses regular expressions, the plugin system is stripping the slashes from the code, causing errors -.-
The "unset($forum);" step may be required by some users, but the cause of the second error generated once the first is fixed is a vBulletin bug which the vB devs will have to fix :(
Sorry about that ... :ermm:
Satan
Reverend
16 Jun 2005, 21:52
OK.
Will disable it until the plugin system bug is fixed.
How can we do?
I very love this hack
Chris M
19 Jun 2005, 23:44
Update
Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions in the first post - If you are upgrading, please delete the previous plugin, and upload the new one from the first post - The new plugin also has the uncached template fix :)
Satan
I got the same error with 'latest threads on forumhome 110.xml':
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
But the lastest threads appear to be fine.
*Edit* It also affects the size of the forum width?
This is on my '/testvb/index.php' forum.
Great hack if we can get rid of the error!
Thanks!
Marco van Herwaarden
20 Jun 2005, 05:42
@dreck
What is the PHP version you are using?
I get this error (except it says line 4 instead of 11):
Getting error at top of page with this:
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 11
and the latest threads show up just fine. So I do this to get rid of the error:
Try changing:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Satan
And the latest threads disappear. :(
@dreck
What is the PHP version you are using?PHP version 4.3.11
Thanks.
Chris M
20 Jun 2005, 12:07
Hrm - I still do not get this error on my board - I guess they haven't fixed the bug that strips the slashes...
It should not affect the size of the forum width - You might need to alter the template mod to reflect whatever custom forumhome width modifications you have made...
http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=184
In this, Freddie Bingham suggests editing class_core.php to remove this bug, or disabling magic_quotes_gpc in php.ini
As this will be a necessary alteration for all hacks and plugins that use regex, I suggest doing one of the two ;)
Satan
Hrm - I still do not get this error on my board - I guess they haven't fixed the bug that strips the slashes...
It should not affect the size of the forum width - You might need to alter the template mod to reflect whatever custom forumhome width modifications you have made...
http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=184
In this, Freddie Bingham suggests editing class_core.php to remove this bug, or disabling magic_quotes_gpc in php.ini
As this will be a necessary alteration for all hacks and plugins that use regex, I suggest doing one of the two ;)
SatanO.. ic, I will try that. I guess their will be a fix for this in the next beta.
Thanks!
Reverend
20 Jun 2005, 21:39
*Edit* It also affects the size of the forum width?Same here as well.
Reverend
20 Jun 2005, 21:49
Also, editing class_core.php as suggested by Freddie hasn't fixed the error
Warning: Invalid argument supplied for foreach() in /index.php(450) : eval()'d code on line 4
grundybin
21 Jun 2005, 03:55
Ok I have it working on BETA 2 without any errors but...
It shows threads that have had a recent reply... when the User doesnt have access to it (such as in an restricted forum admin section)
Chris M
21 Jun 2005, 10:35
Ok I have it working on BETA 2 without any errors but...
It shows threads that have had a recent reply... when the User doesnt have access to it (such as in an restricted forum admin section)
Are you entirely sure?
I have tested this extensively myself and cannot reproduce this :ermm:
Satan
Chris M
21 Jun 2005, 10:45
O.. ic, I will try that. I guess their will be a fix for this in the next beta.
Thanks!
Apparently according to the Devs this has already been fixed, but evidently it has not... :ermm:
I guess the fix that Freddie gave for Beta 1 is no longer the problem...
Apparently however they "fixed" it it broke somewhere else...
About the table width - You might have to alter the HTML code a bit - It is almost a direct copy of the "forumhome events" HTML so there shouldn't be a problem...
Satan
Chris M
21 Jun 2005, 12:00
Update
Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol :) - To upgrade, simply replace the plugin with the one attached in the first post ;)
Satan
Update
Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol :) - To upgrade, simply replace the plugin with the one attached in the first post ;)
Satan
very good
thank you
How can hide some forums?
Chris M
22 Jun 2005, 12:54
Not tested, but should work ;)
In the plugin code, add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
before:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace x,y,z with the forumids you wish to exclude :)
Satan
Not tested, but should work ;)
In the plugin code, add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
before:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace x,y,z with the forumids you wish to exclude :)
Satan
thank you so much
How about just want to show 1 or 2 forms?
Chris M
23 Jun 2005, 12:59
Hrm...
You will need to alter the query this time :p
Again, not tested, but in the plugin code, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add above:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Now find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace x,y,z with the forumids you want users to be able to view :)
Satan
hellsatan, thank you for this plug-in
what about if i want these last topics appear in all my forum pages? not just in the form home?
thank you
Chris M
23 Jun 2005, 13:52
Hrm...
I suppose in theory you could change the "forumhome_complete" hook location to a "global_complete" location, and then edit something like the footer template to include the table and $threadbits variable...
Satan
i did something like this but i edit the navbit template ... that works just in form home...
then i tried to change from forumhome_complete to ... global_complete but i got an error :
Fatal error: Call to a member function on a non-object in /home/users/public_html/board/includes/functions.php(4118) : eval()'d code on line 22
Chris M
23 Jun 2005, 14:05
I would imagine that you might have to require_once functions_forumlist.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Only a guess...
Satan
:s
i dont think so,
i searched in file functions.php and it was requird once ... , or do you mean i need to added in some where in your plug-in?
thank you for your helping
Chris M
23 Jun 2005, 16:45
In index.php there are calls to three files, global.php, functions_bigthree.php and functions_forumlist.php
A call to non-member function suggests that there is an element in functions.php that is missing that is obviously called upon in one of those three required files in index.php :)
Satan
I try and very well done.
Could you tell me How can make it order by the new thread time
Chris M
25 Jun 2005, 15:15
I'm not sure I understand this request - It shows the newest thread replied to...
Satan
I'm not sure I understand this request - It shows the newest thread replied to...
Satan
Just show new threads . If Post reaply .It's cannot be up
:)
Chris M
25 Jun 2005, 16:23
Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)
I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)
Satan
Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)
I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)
Satan
Have you done? :)
Thanks a lot
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.
I installed as you said, but nothing is showing up on the forumhome ... :ermm: I am running on 3.5.0 Beta 3
Chris M
30 Jun 2005, 07:28
I installed as you said, but nothing is showing up on the forumhome ... :ermm: I am running on 3.5.0 Beta 3
Nothing as in no "Latest Threads" box or just the content within it?
Satan
Chris M
30 Jun 2005, 07:29
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.
Check your image paths and make sure you have set your vBulletin Options forum url correctly :)
Satan
Nothing as in no "Latest Threads" box or just the content within it?
Satan
Nothing new at all ... no "Latest Threads" box or any content.
Chris M
30 Jun 2005, 15:00
Then you haven't edited the FORUMHOME template correctly;)
Satan
Then you haven't edited the FORUMHOME template correctly;)
Satan
You are right! :rolleyes: Works like a charm now ...
Chris M
30 Jun 2005, 22:07
Update
Beta 3: Update to confirm that this plugin works with vBulletin 3.5.0 Beta 3;)
Satan
Michael2
01 Jul 2005, 18:00
Any way to only have this pull new threads from specified forums? Would definitely like to use this, thanks for your work on it. :)
Chris M
01 Jul 2005, 18:44
http://www.vbulletin.org/forum/showpost.php?p=724575&postcount=37
:)
Satan
Michael2
01 Jul 2005, 19:13
Haha, I was sure it must have been asked already but missed it. Thanks!
Check your image paths and make sure you have set your vBulletin Options forum url correctly :)
Satan
I get the same ... the post icons' path is incorrect. Is there any way to change this, because it is annoying?
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.
Please let me know if you've found a solution to this. Since it looks bad on the forum home, I will uninstall if a solution is not available soon.
Chris M
02 Jul 2005, 18:44
The only solution I can give you would be to check your icon paths are correct, and to check your templates to make sure you haven't got any incorrect image paths saved in your templates...
Satan
Chris M
02 Jul 2005, 18:49
As you can see from this screenshot I have attached, they work for me :squareeyed:
Satan
It works but as someone mentioned earlier. If someone doesnt have permission to view a forum they can still see the threads created there and the thread content is visible to them when they hover over the links.
Had to disable it since it was sensitive information being displayed to everyone. :(
Chris M
02 Jul 2005, 19:54
It works but as someone mentioned earlier. If someone doesnt have permission to view a forum they can still see the threads created there and the thread content is visible to them when they hover over the links.
Had to disable it since it was sensitive information being displayed to everyone. :(
I fixed this in a previous version :ermm:
Satan
As you can see from this screenshot I have attached, they work for me :squareeyed:
Satan
Yours looks nice.
Well, I am using the default vB 3.5.0 Beta 3 templates / files. How can that be wrong?
Yeah, I've corrected my Forum's URL in the ACP Options, but the problem is still there. It's trying to get the image from, "http://www.socomcity.net/forum_beta2/http://www.socomcity.net/forum/images/icons/icon10.gif".
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.
I found the solution for us acidburn:
Go: Post Icons > Post Icon Manager > Generic Icons > Edit
Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream. :)
I found the solution for us acidburn:
Go: Post Icons > Post Icon Manager > Generic Icons > Edit
Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream. :)
Ahh, I love you Loki, great job! Thank you, thank you! :classic:
Edit: Oh, I just remembered, Satan, have you finished with the edits so that the plugin will get only New Threads, not just the ones most recently replied to? And Satan, I was just noticing your Screenshot you posted a few posts up, what would I need to do to put an image next to the Latest Threads box?
Edit: I figured the image out.1. Locate in your FORUMHOME template:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
2. Replace this with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I fixed this in a previous version :ermm:
Satan
Well I downloaded whatever version was up there about 10 hours ago. So I'm presuming that had the fix.
Hello ,
Is there a way to let the latest theards like line Marquee on the top of forums ,
Regards
Chris M
03 Jul 2005, 10:33
Well I downloaded whatever version was up there about 10 hours ago. So I'm presuming that had the fix.
It should have yes...
Edit: Oh, I just remembered, Satan, have you finished with the edits so that the plugin will get only New Threads, not just the ones most recently replied to? And Satan, I was just noticing your Screenshot you posted a few posts up, what would I need to do to put an image next to the Latest Threads box?
Yes that is the code you use to add an image :)
I have not had time to do this yet as I have not had a chance to review the code for it - I am taking a look at this now however...
Hello ,
Is there a way to let the latest theards like line Marquee on the top of forums ,
Regards
There is yes - You would need to alter the HTML of the "forumhome_latestthreadbit" template, to display a <marquee> tag or whatever the XHTML equivalent is, and use the variables contained within the template to create the information you want and need for the marquee :)
Satan
I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.
I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.
Edit your xml file in plugins.
Find: $limitfids .= ','.$forum['forumid'];
Then merely insert the forumid's you want to be excluded between the ','
Chris M
03 Jul 2005, 13:34
I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.
I understand what you are saying, but I'm saying it shouldn't be as it doesn't on my test forum or on several others :ermm:
As Loki suggested, remove the part about permissions and just have a static $limitfids:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
:)
Satan
Chris M
03 Jul 2005, 13:42
The only solution I can give you would be to check your icon paths are correct, and to check your templates to make sure you haven't got any incorrect image paths saved in your templates...
Satan
I found the solution for us acidburn:
Go: Post Icons > Post Icon Manager > Generic Icons > Edit
Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream.
I suspected it was to do with your icon paths :)
Satan
Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)
I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)
Satan
please help this :nervous:
Chris M
03 Jul 2005, 20:59
I think this is correct:
In the plugin code, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
In theory this should order it by the newest posted threads :)
Satan
I think this is correct:
In the plugin code, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
In theory this should order it by the newest posted threads :)
Satan
Yes, that seems to work. Thanks Satan! :)
Chris M
05 Jul 2005, 00:05
Glad to hear it :)
Satan
thank you hellsatan
I have a plan .I hope there are 2 different Latest Threads on my Forum Home.
I try do it by myself :(. But not working . So hope you help :)
thank you hellsatan
I have a plan .I hope there are 2 different Latest Threads on my Forum Home.
I try do it by myself :(. But not working . So hope you help :)
...Huh? Sorry... I'm confused. :ermm:
thanks nice hack
is work great
best regard
Chris M
05 Jul 2005, 17:27
...Huh? Sorry... I'm confused. :ermm:
He wants two versions of the hack, one with the latest threads, and one with the latest posts?
In order to do this, you will have to change the variables within the plugin for the second of the two, otherwise it will not work :)
i.e.
Change:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
continue to change the variables and it should work :)
Satan
Ahhh... okay. Satan saves the day... again. :p
Edit: That's actually not a bad idea... I may do the same.
Chris M
06 Jul 2005, 13:38
Oh incase you are wondering, you can increase or decrease the number of latest threads/posts displayed by altering:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change the 5 to whatever you like, i.e. 3 or 10 :)
I'm going to release another version of this as soon as I get the time, with some Admin CP Settings for this, so you can alter what forums do and do not show, the number of results to display etc :)
Satan
ohgenki
07 Jul 2005, 06:28
pardon me, but where is the plugin to download ? i don't see any anywhere...
Biker_GA
07 Jul 2005, 06:52
latest-threads-on-forumhome-111.xml is the file you need. Along with the txt file for your instructions.
Chris M
08 Jul 2005, 17:01
Yeh upon the next release I will .zip it all up ;)
Satan
Rover416
10 Jul 2005, 05:10
Thank for this.
Although i moved it to the top of the forum. :D
Chris M
13 Jul 2005, 04:37
Update
Beta 4: Update to confirm that this plugin works with vBulletin 3.5.0 Beta 4;)
Satan
southernlady
13 Jul 2005, 14:01
Thanks, Satan...I LOVE this plugin. Liz
Gary King
13 Jul 2005, 21:23
Run this through the w3 validator. Fix the & so that it is &, otherwise you get hundreds of XHTML errors.
Chris M
13 Jul 2005, 23:09
Run this through the w3 validator. Fix the & so that it is &, otherwise you get hundreds of XHTML errors.
It was & on my testboard - Hrm...
I'll re-validate it ;)
Satan
Chris M
13 Jul 2005, 23:20
Made it all XHTML compliant now :p
Satan
mholtum
14 Jul 2005, 01:32
Worked like a charm, thanks
SlowRoasted
14 Jul 2005, 02:04
will this work for 3.07? where do i upload the plugin file to?
will this work for 3.07? where do i upload the plugin file to?
only vb3.5 has a plugin system
Hello hellsatan ,
Please can you tell me the steps to how can i put the marquee of lasttheard on forumhome ,
please
Regards
Had this on 3.0.6 .. great to have it back on 3.5.0.
Thanks hellsatan.
Wayne Luke
14 Jul 2005, 20:06
Any screenshots of how people have this implemented?
southernlady
14 Jul 2005, 20:17
Yeah, I can post one. Liz
Chris M
14 Jul 2005, 20:39
I have added a image in the first table, but it's essentially the same ;)
Satan
southernlady
14 Jul 2005, 20:43
Your's is a better shot but mine proves it works! Liz
Wayne Luke
14 Jul 2005, 20:53
Ahh thanks.. I was looking for something more on the lines of SitePoint's Index page.
http://www.sitepoint.com/forums/index.php
hi ...
i've updated my forum to Beta 4 .. and its work fine ... but its appear the topics for hidden forums :(
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
so when i checked for the value of $limitfids it was empty ... :)
have i messed something?? i upgread also this hack :s
guied me please
thank you
Chris M
14 Jul 2005, 21:14
hi ...
i've updated my forum to Beta 4 .. and its work fine ... but its appear the topics for hidden forums :(
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
so when i checked for the value of $limitfids it was empty ... :)
so any help?
thank you
I will recheck the limitfids section of this :)
Satan
Chris M
14 Jul 2005, 22:57
Update
Version 1.1.2: Simple update to fix the permissions bug again - It keeps cropping up lol :)
I've also altered the fetch_userinfo location of the template cache plugin to cache_templates so that it is cached for guests as well :)
To upgrade, simply delete the previous plugins and upload the new .xml file :)
Satan
thanks you
its work now :)
Chris M
14 Jul 2005, 23:12
Your welcome :)
I hadn't noticed it had become incorrect because I formatted my board, and forgot to add back my registered "testuser" ;)
Satan
Hello Satan ,
please if you can to let me how can i do marquee last theard at the top of forum home page ,
and there is another thing , is there a way to view the orginal poster of theard and and lastposter togather ,
regards
Brinnie
15 Jul 2005, 09:05
Hey... I think it would be cool if you could set it to only Hot Topics... Yea, that way people could add a caption like "Highlighted Forum Discussions" like sitepoint (http://www.sitepoint.com/forums/) does.
I probably wouldn't use it, as I don't like to clutter my board index, but it's just a thought. ;)
Hello Satan ,
please if you can to let me how can i do marquee last theard at the top of forum home page ,
and there is another thing , is there a way to view the orginal poster of theard and and lastposter togather ,
regards
Satan Hello ,
Please help
Regards
Hello,
I installed it but didn't see any changes there!! How would this hack appear in my forum?!
please if you can to let me how can i do marquee last theard at the top of forum home page ,
Regards
change the code inside forumhome_latestthreadbit to this one:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
you can change it if you wish...
then go to the FORUMHOME and change the position of this hack from down to the top ..
so you need to search for
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
hope that will work...
thank you
hellsatan, sorry
i found a small issues , i have a small forum which its topics just appears to them owner and moderator... so, could you upgrade this hack please to work with this forum ??
thank you
Chris M
21 Jul 2005, 16:47
I'm not sure I understand the request...
You want threads that are only viewable by the user who posted it and moderators to remain so in the Latest Threads box? Or you don't want them to show up at all?
If the user does not have permission to view the threads then they won't show up in the box - If you want to exclude the forum from showing on the latest threads box altogether, alter the plugin, replacing:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace X with the forumid of that forum, but DO NOT add a comma after the X ;)
Satan
hummm No, i dont want to hide all the fourm topics,
i just want this topics appear to the people who have the permission to view (poster or moderator)... otherwise, not.... rather than appearing/hiding all topics to every one .
BECAUSE now all the topics appears to every one :(, if there is a problem from my side, please guide me.
thank you for your replying
albarq
Chris M
22 Jul 2005, 23:25
hummm No, i dont want to hide all the fourm topics,
i just want this topics appear to the people who have the permission to view (poster or moderator)... otherwise, not.... rather than appearing/hiding all topics to every one .
BECAUSE now all the topics appears to every one :(, if there is a problem from my side, please guide me.
thank you for your replying
albarq
It should already do this - If it does not, make sure you are running the latest version of this plugin :)
Satan
ya, i have the last plug-in
see this example for your code
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Chris M
23 Jul 2005, 17:32
ya, i have the last plug-in
see this example for your code
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The only reason I can see for it showing the threads to people who aren't allowed to see them is that you have not got the latest plugin running :ermm:
Satan
Chris M
27 Jul 2005, 01:23
Update
RC1: Update to confirm that this plugin works with vBulletin 3.5.0 RC 1:)
Satan
What do I need to edit to not show the post icons on the latest threads list ?
Chris M
27 Jul 2005, 01:57
There are two ways:
One way disables it (in case you want to enable it in the future), and another completely removes it...
To disable it, alter your plugin, and find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
:)
To remove it completely;
In the forumhome_latestthreadbit template, remove:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Now edit the Plugin:
Remove:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
You may also want to consider altering the query :)
Satan
There are two ways:
One way disables it (in case you want to enable it in the future), and another completely removes it...
Satan
Thanks Satan .. that worked :)
Chris M
27 Jul 2005, 13:02
Thanks Satan .. that worked :)
Your welcome :)
Satan
chikkoo
01 Aug 2005, 08:21
Nice Mod.
But, I've Two Questions.
1) Will it work in Beta 3? as I didn't upgrade to RC1, I'm waiting for final.
2) If I don't want all the threads to appear, can I specify only a specific forum or forums?
Chris M
01 Aug 2005, 14:30
Nice Mod.
But, I've Two Questions.
1) Will it work in Beta 3? as I didn't upgrade to RC1, I'm waiting for final.
2) If I don't want all the threads to appear, can I specify only a specific forum or forums?
1) Yes - The version only indicates that it will work with the latest version but it does work with Betas 1 - 4 :)
2) I have explained how to do this earlier on in the thread :)
Satan
mcyates
16 Aug 2005, 15:35
i've installed this but nothing shows?
Chris M
16 Aug 2005, 16:21
Make sure you have added both the forumhome_latestthreadbit template and made the modification to the FORUMHOME template :)
Satan
mcyates
16 Aug 2005, 16:55
Make sure you have added both the forumhome_latestthreadbit template and made the modification to the FORUMHOME template :)
Satan
I have done, would you be able to have a quick look for me? Its only a test board. I'll give you admin permissions if you sign up. That's if your not too busy.
Chris M
16 Aug 2005, 18:50
Absolutely nothing shows? o.O
Send me the info by email: chris[dot]d[dot]murphy[at]btinternet[dot]com ;)
Satan
Satan ..
I dont know it you can do this or not ..
How can i call the var ($threadbits) from the tamp (forumhome_forumbit_level2_post) .. ?
i want to add IF condition to use it in forumdisplay ..
------------------------
forum row bit content .. bla bla bla ............
then ..
<if condition="$forumid = 11">
$threadbits
</if>
------------------------
* Please can you provide ur help .. i asked alot before but no response ..
does the idea clear for you satan ?
thanks in advance ..
Is there someway to change this script, so that the latest threads can be displayed on other pages?
Xplorer4x4
27 Aug 2005, 19:12
If you are running vBAdvanced there is no possibly way to get your post icons to show up in both. Trust me I tried all the solutiongs in this thread. Therefore iturned them off in vbadanced. Porblem fixed there.
I notice there is a small table next to the icons that is empty. For the other columns like Who Is Online there is a icon in this table which will be linked to www.yousite.com/forums/images/misc/whos_online.gif (http://www.yousite.com/forums/images/misc/whos_online.gif) or in the cae of the birthdays table there is a calender icon. Would it be possible to align the thread icons into that table and still have them corespond to the post icon asigned to that thread?
SlowRoasted
27 Aug 2005, 21:02
what do I change to select the latest posts instead of latest threads?
thx
Xplorer4x4
28 Aug 2005, 08:32
what do I change to select the latest posts instead of latest threads?
thx
http://www.vbulletin.org/forum/showpost.php?p=730919&postcount=84
SlowRoasted
28 Aug 2005, 22:25
okay that helps a little, but wont I have to change a query to grab post titles instead of thread titles?
Xplorer4x4
28 Aug 2005, 22:49
okay that helps a little, but wont I have to change a query to grab post titles instead of thread titles?
Give it a shot and see. ;) I am fairley confident that changes the query seeing as your changing $getthreads to $getposts and it is executing a query.
SlowRoasted
29 Aug 2005, 00:32
k ill give it a shot, thanks:)
thetoolman
31 Aug 2005, 14:39
Hi
I have successfully installed the script, but how do i make it appear on a nother part of the forum? I tried adding it to the footer tempalte becuase i have a right hand column there, but it doesnt show anything. Any ideas?
roundhost
05 Sep 2005, 20:57
Hi
I have successfully installed the script, but how do i make it appear on a nother part of the forum? I tried adding it to the footer tempalte becuase i have a right hand column there, but it doesnt show anything. Any ideas?
Same, I changed the hook location to global_compelte as well but that gives an error, I am trying to work out how to fix that now :ermm:
roundhost
05 Sep 2005, 20:58
Change it to global_start, then it will work :D
thetoolman
07 Sep 2005, 15:14
where do i change it to global_start?
kwopper
08 Sep 2005, 03:00
@ hellsatan...how can I remove the "replies" and "views" from the list and then possible adding a little space between thread link and the last post info...just so it doesnt appear all cramed together. Or even just to spread out the current stuff there so its not all cramed on the left site...easier to read. Great mod by the way..
thetoolman
09 Sep 2005, 16:06
anyone?
Probably in the xml-file. Look for forumhome_complete and change that to global_start.
thetoolman
11 Sep 2005, 20:38
that didnt seem to do anything, still displays in the same place and not anywhere else
thetoolman
22 Sep 2005, 23:00
i've tried everything. i will pay someone to install this for me....
Login to your AdminCP -> Scroll to Plugin System -> Click Plugin Manager -> Look in the list for "Latest Threads on Forum Home" -> Click the "Edit" link next to it -> Select in the DropDown bar next to "Hook Location", global_start.
You've gotta paste the code you pasted into the "forumhome" template to wherever you want it...
That'll be $29.95. Ha ha... just kidding.
If I do that, I get a
Fatal error: Call to undefined function: fetch_iconinfo() in /home/www/web1/html/politikpla.net/forum/global.php(351) : eval()'d code on line 49
Sorry, I typed the wrong thing in, change the hook location to "global_start". My apologies.
I did use global_start. Still get the same error.
Maybe I changed the wrong one. I have two plugins with "latest threads on forumhome", one with the hook "cache_templates" and one with the hook "forumhome_complete". I changed the second one.
Change it to global_start, then it will work :D
Hmm... strange. According to roundhost, that's all you needed to do. I'll see if I can't get it to work on mine, and I'll get back to you.
Xplorer4x4
30 Sep 2005, 10:44
Not tested, but should work ;)
In the plugin code, add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
before:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace x,y,z with the forumids you wish to exclude :)
Satan
Doesn't seem to work for me. :(
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Here is the line of the plug in. I get this error:
Parse error: parse error, unexpected ',' in /public_html/forums/index.php(459) : eval()'d code on line 6
Xplorer4x4
06 Oct 2005, 15:21
Ok I realize Chris is gone, but anyone?
Also note the permision bug is back when using this on vB3.5 GOLD!
EDIT 10/06/05:Pretty sure the Permision bug was my dumbass fault. Please check it though.
EDIT 10/7/2005: Permision bug was my fault:o! Ok I found a fix for this. Instead of yours I had to use:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Is there a way to include hte forum name in the display?
Bytecon
08 Oct 2005, 21:13
Thank you
*installed*
ScooterQ
09 Oct 2005, 18:37
Is anyone else seeing a problem with new post icons? I'm seeing posts marked as new in the latest threads display, but if I click on "new posts" it says "Sorry, there are no new threads to view." That is correct - the new post icon in latest threads is wrong for me. Thus far the only way I've found to clear the new posts icon is to mark my forums read.
For example, I can log in as a test user and see 10 threads as unread using "new posts". If I click on a thread title it takes me to the thread. If I click on "new posts" again the thread is no longer listed, but if I go to my forum home the thread is still showing up as unread in the latest threads block. I'm using the database with automatic thread marking to track unread items.
I'm guessing that I need to modify the SQL to look at the threadread table for each post and add it to the show goto new post section (listed below).
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Am I alone here? If so, I'll just quietly go fix my problem on my forum, but if not I'd like to solve this for all of us, not just me.
ScooterQ
09 Oct 2005, 19:30
I've pretty much figured out that the problem I'm seeing has to do with the forum_view cookie not being set, thus causing my unread status to fall back to using lastvisit instead. The forum_view cookie is only set in two places in all of the VB3.5 code and in both cases it's only set if you **are not** using threadmarking.
function_bigthree.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
So it looks like I may just have to modify the getthreads query for this plugin.
Does this work with 3.5.0 Gold ?
Mr Chad
09 Oct 2005, 19:50
Does this work with 3.5.0 Gold ?
doesnt look like it.
Chris M
09 Oct 2005, 20:45
It should do, but it's untested on my end - I haven't had time to install 3.5 Gold yet :)
Chris
thetoolman
13 Oct 2005, 13:13
will this hack work if i put it in the header or footer?
Chris M
13 Oct 2005, 13:57
You will need to make it a global plugin location not a forumhome location ;)
Chris
Xplorer4x4
13 Oct 2005, 15:23
In the admin CP, go to your plug in manager. Find the two plug ins called latest threads on forum home. There will be two drop down menus. One says title and the one below says Hook Location. Open the drop down menu and search for "forumhome"
Chris, again, is there a way to make the forum show up in the latest thread tbale?
If I do that, I get :
Fatal error: Call to undefined function: fetch_iconinfo() in /home/www/web1/html/politikpla.net/forum/global.php(349) : eval()'d code on line 48
How do I resolve that?
how do I "Create a GLOBAL phrase called latest_threads"
nevermind, I found it.
thetoolman
17 Oct 2005, 21:02
Hi
Is there a way i can display the latest threads on one line instead of a new line for each thread?
Chris M ,
Is this hack work with forumpermission[canviewothers] ?
i am using this hack since you have released but it isnt working fine with this permission.
Xplorer4x4
20 Oct 2005, 09:16
Chris, sorry to make this repetive posts but it would be a huge help if you could tell me how to print the forum names?
If somebody wants to use that on a different page than forumhome, you have to add require_once('./includes/functions_forumlist.php'); to the php code of the xml and change the hook to global_start.
I'm facing this annoying problem
the post icon isn't showing, it's giving me an X, when I right click it gives me this address:
http://www.lebforces.org/forum/http://www.lebforces.org/forum/images/icons/icon1.gif
I tried to fix it from the post icons admincp but didn't work
it's showing me the X when there are no replies on the topic!
any suggestions?
Chris M
23 Oct 2005, 02:18
Open the forumhome_latestthreadbit template:
Change:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That should work :)
Chris
How to I can change from 5 to 10 threads show on forumhome?
igoravr
23 Oct 2005, 17:43
Uncached templates: forumhome_latestthreadbit (5)
How to fix?
p.s. vb 3.5 gold
How to I can change from 5 to 10 threads show on forumhome?
Find DESC LIMIT 5 in the xml-file and change that number to 10.
Uncached templates: forumhome_latestthreadbit (5)
How to fix?
p.s. vb 3.5 gold
You have to create a template forumhome_latestthreadbit.
Put
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
into it.
Chris M
24 Oct 2005, 00:53
I forgot to add the "cache_templates" plugin to the product :p
Re-download it, uninstall the previous product and install this new one :)
Chris
How to I can place latest threads in under navbar?
Xplorer4x4
25 Oct 2005, 08:47
Just put the template edit for forumhome and aply it to your navbar. Thats what I did.
Any chance of getting this to display the forum name as well?
Chris M
25 Oct 2005, 14:34
In the main plugin code, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then alter the template to add $forumdata[title] where you want it to show :)
That should work but it's untested :)
Chris
shardex
25 Oct 2005, 21:22
That syntax was close but did not work.
Try this:
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add Below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you wanted to add a link to the forum name add this to your template:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find DESC LIMIT 5 in the xml-file and change that number to 10.
Thank a lot ;)
Any chance of getting this to display the forum name as well?
Plz send me your code, i have placed it under navbar but it show isn't good.http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/106.gif
Xplorer4x4
26 Oct 2005, 14:34
@ Chris thanks for the effort.
@ Shardex thanks for the fix.
@ Nobita. Sorry my navbar template isn't really a good example as it is bassicly fully customized. Sorry..
lairnoc
26 Oct 2005, 21:26
this is more latest thread replies
Is there a hack about the latest threads posted.?
Psionic Vision
27 Oct 2005, 23:26
I'm not quite sure you need to globalize $vbulletin in forumhome_complete ;)
Also, don't write
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
... write
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Reason: the first one doesn't necessarily work on all the systems... Had troubles with that way of writing. The second way of writing works everywhere ;)
Psionic Vision
28 Oct 2005, 00:09
In case you want it, here is an updated XML and an updated FORUMHOME html that needs to be inserted according to Chris M's instructions:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I have changed the template, which is now perceived better (see screenshot), and I've changed a few things in the code, you might wanna compare ;) Anyhow, this is a great hack, and I did click "Install". ;)
http://img271.imageshack.us/img271/858/screenshot16xc.th.png (http://img271.imageshack.us/my.php?image=screenshot16xc.png)
admiralapril
02 Nov 2005, 06:35
Thank you Chris M and Dark Visor. I've installed this and it works perfectly. :)
Xplorer4x4
02 Nov 2005, 06:42
I could of sworn I replied to this thread about your version Dark Visor mentioning that the first new icon was showing up but not the default post icon. Either way it was because of the way i set the image directorey in vB options to work for my portal.
Dark Visor, may i suggest making note that people can edit the table pixels to control the size.
@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread (http://www.yourstie.com/showthread) and not www.youstie.com/forums/showthread (http://www.youstie.com/forums/showthread).
Anyways this is defenitley on the top of my list for favorite hacks. :)
joelc73
03 Nov 2005, 21:01
This is a great hack - Thanks! How can I move it up higher on the page? Just below (or above possibly) the Nav bar?
Thanks,
Chris M
03 Nov 2005, 21:06
I could of sworn I replied to this thread about your version Dark Visor mentioning that the first new icon was showing up but not the default post icon. Either way it was because of the way i set the image directorey in vB options to work for my portal.
Dark Visor, may i suggest making note that people can edit the table pixels to control the size.
@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread (http://www.yourstie.com/showthread) and not www.youstie.com/forums/showthread (http://www.youstie.com/forums/showthread).
Anyways this is defenitley on the top of my list for favorite hacks. :)
Change the link to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
:)
Chris
shardex
07 Nov 2005, 20:05
@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread (http://www.yourstie.com/showthread) and not www.youstie.com/forums/showthread (http://www.youstie.com/forums/showthread).
That's because my forum lives at the root level, and that was the example I was basing it off of. You would just need to modify the URL to match your own site but the concept should work OK.
I actually added two of these bad boys to my homepage so that one displays the latest posts from all the general forums and the other one displays the latest posts from my blog.
Check it out at: http://www.shardex.com
This is a great hack.
Xplorer4x4
07 Nov 2005, 21:31
As you can see I had already made the changes. ;) Yeah I migh consider that if my members wouldn;t kill me. Then again I could proabbly do it at the bottom of my forum as i put this in my navbar.
I just have something wrong, it's supposed to have a post icon beside each topic, right?
but on my board, whenever I "mark as read" all forums, the post icon disappears, take a look:
this is before I mark as read
http://img.photobucket.com/albums/v217/snitz0/ebb43dd0.jpg
and this is after I mark as read
http://img.photobucket.com/albums/v217/snitz0/2b3340c5.jpg
I just want to place the default post icon beside the non-new threads, how's that?
Chris M
08 Nov 2005, 14:21
I just have something wrong, it's supposed to have a post icon beside each topic, right?
but on my board, whenever I "mark as read" all forums, the post icon disappears, take a look:
this is before I mark as read
http://img.photobucket.com/albums/v217/snitz0/ebb43dd0.jpg
and this is after I mark as read
http://img.photobucket.com/albums/v217/snitz0/2b3340c5.jpg
I just want to place the default post icon beside the non-new threads, how's that?
You need to check the icon path in the template :)
It has $vboptions[bburl]/ in front of the thread's icon path - Some people need it, some don't ;)
Chris
I remove the $vboptions[bburl]/ but still the default post icons isn't appearing
Chris M
08 Nov 2005, 23:25
Then your default icon is not set correctly in the vBoptions :)
Chris
I didn't find anything related to the post icons in vBoptions, but I went to Post Icons and the default post icon's path is set to:
http://www.oneforum.org/images/icons/icon1.gif
anything wrong?
It dosent work for me at all.
I haved installed the xml file in acp and put the text in to the forumhead template and made a new template called forumhome_latestthreadbit
http://www.saltvattensguiden.se/forumet/
MarsNIIT
14 Nov 2005, 15:24
I have some forum don't want display in Latest Threads On Forum Home , can you help me :(
Thanks.
MarsNIIT
15 Nov 2005, 05:47
I have some sub forum don't want display in Latest Threads On Forum Home , can you help me
Thanks.
Look for
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in the xml-file.
Below that add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
x,y,z are the ids of the forums you want to remove.
MarsNIIT
16 Nov 2005, 15:55
Error when i add: $limitfids = x,y,z;
but add: $limitfids = x; it work ok
Parse error: parse error, unexpected T_LNUMBER in /home/niit2it/public_html/index.php(458) : eval()'d code on line 6
Can limit also sub forum of this forum???
hey Chris M,
is it possible to add this mod on 3.5.1 in the header template instead of the forumhome template?
hey Chris M,
is it possible to add this mod on 3.5.1 in the header template instead of the forumhome template?
Add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
at the beginning of your php code in the xml-file and change your hook position to global_start.
thank you vierie, works fine :D
Hi guys, just installed this onto my newly upgraded 3.5.1 forum :D
Just a few questions..
Can you confirm that visitors will only be able to see the forums that they have permission to?
Secondly, is there a way to edit the display a bit? Please see this pic..
What i want to do is increase it to 10 (or give users the ability to edit it to display as many as they each want) and expand the number of characters from the thread title as you can see i have a bit of extra screen space available.
Cheers!
Shane
southernlady
22 Nov 2005, 03:18
sbryan, I don't know about you but I use a different browser to verify that info. I typically use FF for all my browsing so I bring up my web site in IE and I'm usually not logged in...I see it as a guest there. That way I see it as a guest would see it. :) If IE doesn't work that way for you, try opera. Liz
sbryan, I don't know about you but I use a different browser to verify that info. I typically use FF for all my browsing so I bring up my web site in IE and I'm usually not logged in...I see it as a guest there. That way I see it as a guest would see it. :) If IE doesn't work that way for you, try opera. Liz
cool, i actually just created a test user account with no admin/mod rights and none of the hidden forums appear, thanks :)
any way to edit how the latest threads bit displays though?
Chris M
22 Nov 2005, 04:10
Edit the forumhome_complete part of the product (via Plugin Manager)
Change:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change 10 to whatever value you want to display that many results
Now change:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change 35 to whatever value you want your thread title length to be before it's trimmed
:)
Chris
thanks Chris M, worked an absolute treat :D
You have to create a template forumhome_latestthreadbit.
Put
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
into it.
I haved tried to this great plugin but it doesent work for me at all.
www.saltvattensguiden.se/forumet
I run 3.5.1 in my forum Installed the XML file change in the forumhome template but it still dosentwork. What do i do wrong
Can some one help me!?
best regards
ps I have another today but this one isnt so good so i want to change to this one!
Thanks, Chris! Worked like a charm first time.
Bumb can some one help me please!
I haved tried to this great plugin but it doesent work for me at all.
www.saltvattensguiden.se/forumet
I run 3.5.1 in my forum Installed the XML file change in the forumhome template but it still dosentwork. What do i do wrong
Did you create that template forumhome_latestthreadbit?
Can you put some punctuation marks into your sentences? Makes them easier to understand.
WhatChaMissin
01 Dec 2005, 18:09
*installs*
Thanks we needed this!
How can make a second Latest+Threads on my Forum Home?
fabianv
06 Dec 2005, 12:44
Brilliant!
You can see it working on
http://forum.cgcentral.net
There is no title in the window bar, any help?
http://tinypic.com/i7332c.jpg
Am I suppose to add a phrase?
im realy sad i haved made the template. Installed the XML file
īPut it in to the default template
BUT it dosent still show.
http://www.saltvattensguiden.se/forumet/index.php?styleid=1 :cry: :cry:
somasimple
12 Dec 2005, 15:50
Hi all,
Is there a way to put this enhancement on the top of the page?
Between navbar and forums.
It seems more useful for long list forums?
Thanks.
somasimple
13 Dec 2005, 12:33
Hi all,
Solved. Added some lines for the table and moved the code after $navbar.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BiReL41r
16 Dec 2005, 21:56
I'm getting an error, it's not showing up but the code is placed in the right spot...
ok i got mine mostly working can someone have a look and tell me why only some threads to the left have the "go to last post" icon and others do not? hmm http://www.itburnouts.com
Thanks!
*edit- ok weird now they are all showing, it seems to be a bit random, oh well..
midnightwalker
17 Dec 2005, 07:39
It;s not display the topic icon in my case :(
the link becomes http://www.rmitportal.info/forum/http://www.rmitportal.info/forum/images/icons/5.gif
instead of
http://www.rmitportal.info/forum/images/icons/5.gif
Any idea?
somasimple
17 Dec 2005, 09:41
It seems that you've customized the forum icons.
Normally you need a common forum_new.gif and it will work.
midnightwalker
17 Dec 2005, 11:56
so how can I solve it?
somasimple
17 Dec 2005, 12:54
Hi all,
I modified some forums pics as you did but I have also a common/default set in case of normal procedures/functions calls.
You may hard code the changes in your template with the custom image adress.
It dosent work for me at all
Hope someone els can do some to 3.5.2 or help me
somasimple
17 Dec 2005, 18:38
Hi replace this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
by
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
normally it may work.
notice that on my site I needed to add a width statement to have it equal with forums.
midnightwalker
17 Dec 2005, 18:53
hi,
Thanks for your help somasimple but it's not what I expected.
Every topic users may chose the different emtion and it's not only the 5.gif so I have to find another way to set the path :)
somasimple
20 Dec 2005, 07:54
Hi,
What is the adress of you forums?
I have pictures in front of messages and it works!
www.somasimple.com/forums/
himerus
20 Dec 2005, 20:36
Okay, this is a great plugin, however, I need to make some modifications, and this is the first time I've worked with vB since 3.0.3....
The plugin system is a little new to me...
I need to have this plugin show up on EVERY vbulletin page... I'm not worried about queries affecting performance... but I looked at moving the settings on the plugin to a different location, but it won't show up.
I have had to move the template code to the footer template in order to accomplish what I'm looking for, so can someone give me the quick tip on what I'm going to need to do to get this plugin to work with my footer template, and on every page????
Add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
once at the beginning of the php code in the xml-file and change the position of the hook to global_start.
After that you should be able to use the code in the footer.
himerus
20 Dec 2005, 21:11
require_once('./includes/functions_forumlist.php');
You are AWESOME!!!!
Worked like a charm....
The forum thread icons will not show in this. it shows
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
2 addys? How do I get it to remove the first part?
Chris M
21 Dec 2005, 20:03
Alter forumhome_latestthreadbit:
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
change to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Chris
can someone please tell me how many queries this adds to forum home?
thanks
Thanks Chris, that worked perfectly!!!!!
Chris M
22 Dec 2005, 01:34
can someone please tell me how many queries this adds to forum home?
thanks
1 :)
Chris
can some one post the code to either limit forums or choose the forums you want it to display please?
I have read all through this thread and the only thing that sort of worked is this:
$limitfids = x;
but it only allows you to exclude ONE forum from the latest threads and I have 6 that I want exclude.
thanks
What do i do wrong it still dosent work and dont know what i shuld do to
vBulletin® v3.6.12, Copyright ©2000-2010, Jelsoft Enterprises Ltd.