![]() |
|
|
Mod Options |
[New Posts | New Thread | Search] on Index page Details »»
|
|||||||||||||||||||||||
|
[New Posts | New Thread | Search] on Index page
Developer Last Online: Feb 2007
This adds forum section-specific New Posts, New Thread and Search links to the index page.
New Posts will only appear when there are new posts in that section and will only list new posts from the section. New Thread will start a new thread in that section. Search will start a search for only that section. A search did bring up something similar but it was neither as complete nor as aesthetically pleasing (to me). I apologise if this is duplicated. Open your forumhome_forumbit_level1/2_post template. FIND:
AFTER, ADD:
Optional extras: - Subscription code for each feed type, all conditionals so they'll only appear if you've turned that type on. - Unsubscribe moved to the linkfest since it seems to fit better there. Be sure to delete the very similar code which appears immediately below where this code is inserted, everything between <if condition="$show['forumsubscription']"> and </if>.
Update: - The conditional should now be correct so the links will only appear for open forums. It's up to you if you want to change that. - The search link is now wrapped in a conditional so it doesn't appear when it's not wanted, most likely for Guests, New Thread is also now controlled as far as is possible by the statusicon conditional. Permission to start a new thread is only checked after clicking the link as far as I can tell, so it can't be done perfectly. - Not a big deal, but added rel="nofollow" in a couple of places where the links aren't any use to search engines. Known Issues: - If there is no permission to start a new thread or search and there are no new posts to view but the unsubscribe link or a feed link appears then the line will begin with a |. It could be solved with a loooooooot of conditionals but it's not worth it. Change the formatting (use of |) if it bothers you. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
|||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
No members have liked this post.
Last edited by Shazz : 06 Feb 2011 at 07:45. |
|
#4
|
||||
|
||||
|
Lovely it could be much better if they were using images.
![]() No members have liked this post.
|
|
#5
|
|||
|
|||
|
Installed
Nice touchNo members have liked this post.
|
|
#6
|
||||
|
||||
|
piece of cake.. thank you for the mod, very nice!
No members have liked this post.
|
|
#7
|
|||
|
|||
|
Originally Posted by Dark Blade
Personal taste.
I like quick and clean myself.No members have liked this post.
|
|
#8
|
|||
|
|||
|
Seems to be nice. But in my installation i couldnot locate the forumhome_forumbit_level1/2_post template :-(
pls do update your steps keeping newbies also in mind:-( No members have liked this post.
|
|
#9
|
|||
|
|||
|
AdminCP > Styles & Templates > Search in Templates > Search for forumbit
In the results, forumhome_forumbit_level1 and 2 will appear, you want the post versions of each and not the nopost versions. Level 1 is the forum sections that show up on the index page, Level 2 is for subforums that show up on forum listing pages. ![]() No members have liked this post.
|
|
#10
|
||||
|
||||
|
I have installed this but had to remove because its not displaying correctly when using subforums... If my subforum structure is setup like this
-Forum Name --Forum (Locked) ---Child Forum1 ---Child Forum2 ---Child Forum3 Then locked forum show the New Thread- Search and when you click you get dont have access... No members have liked this post.
|
|
#11
|
||||
|
||||
|
Try replacing it with this:
That should (untested) mean that if the forum isn't locked or a link, display the links. Search is included in that, so if you want to allow people to search locked forums you'll have to move the </if> tag up so the Search link is outside it. No members have liked this post.
|
||||
|
#12
|
||||
|
||||
|
Originally Posted by ForumDog
I will try this... Do you know how many queries this gernerates on every page load?
No members have liked this post.
|
||||
|
#13
|
|||
|
|||
|
None. Not even a fairly large amount of conditionals will slow things down.
No members have liked this post.
|
|
#14
|
||||||||||||
|
||||||||||||
|
umm,,
http://forum.vbulletinsetup.com/f7/3...cribe-rss.html I got this code from Keith Cohen months ago ![]() with his permission [New Thread] - [Search] - [Subscribe] - [RSS] if you like what we've added at vBulletin Setup and want it on your site here is your code.. Here's the code I use in forumbit level 1 and 2:
this assumes your vb is in a forums/ folder.. and like on our site, the forum home view don't allow new threads, so it was all useless and we just needed it on the forumdisplay page.. this is how to achieve that..
and add this to your Additional CSS Definitions to make them small like on here
btw, i just changed style, so i haven't added this code back.. but i did post this last month on the link above, and had it on an old site b4 that ![]()
__________________
Do you have questions about managing a forum, check out my Admin Forum. *NEW* Our latest Interview with Scott Molinari - from: vb-Germany! Trying to offer vBulletin 5 Connect info as well.
No members have liked this post.
Last edited by Brandon Sheley : 22 Aug 2006 at 05:25. |
||||||||||||
|
#15
|
||||
|
||||
|
This is great!!!
i have just changed it a bit (hope you dont mind )
No members have liked this post.
|
||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 21:24.







I like quick and clean myself.
