![]() |
Latest Threads On Forum Home
Latest Threads On Forum Home
Version: 1.0.2 vB-version: 3.0.0 Release Candidate 2 Developer: NTLDR Install-difficulty: 1 File-edits: 2 Template-edits: 1 Description of the Hack: This is taken from my vBindex hack and will display the latest X threads on your forum home page. Permissions are done automatically so forums users can't view will be excluded. Includes thread icon/goto new post image (if the thread is unread), title, last post info, number of views and replies. Files modified for this Hack: index.php New templates for this Hack: forumhome_latestthreadbit Templates modified for this Hack: FORUMHOME New phrases for this Hack: latest_threads |
muchas gracias senior!!
/me clicks first to install |
great work thanks, now just need a way to get it into my sidebar :)
thanks |
I take it you're enjoying the HTL ? :)
|
It was alot easier figuring out howto create the HTL install instrctions then trying to make a text file look clear and easy. Once its released I'll provided an updated HTL version :)
|
Quote:
Don't forget to change the title of the thread (when you go for a HTL installer) to have the [HTL] prefix, to denote that it has a .htl installer file. Makes for much easier checking out for people who want to see which hacks are HTL-hacks :) (of course, you're free not to do it, but hey, it helps people, and it's not that big a hassle ;)) |
Where would I change how many recent threads are displayed?
|
Quote:
|
Quote:
[/high] Your level of support for your hacks is amazing! Thanks alot |
Good job! I could use this one!
/me clicks Install MGM out |
Hi NTLDR,
I love this hack! Anyway - Some problems resist: Collapsing this section collapses it. <- o.k. BUT - it doesn't remember the status (collapsed/uncollapsed) To be honest, it's acting very weird ... sometimes the icon doesn't change... sometimes it's the wrong icon... sometimes it stays collapsed... sometimes not. And if there was no post icon chosen for the post it shows a broken image link in front of every thread listed in the box. Maybe you give it a try and recheck those issues? Would be great to use this hack fully functional! Thanks! btw: I'm using it with the RC3 version. But I guess that couldn't be it?! Best regards... Goyko |
In your FORUMHOME template find:
HTML Code:
style="$vbcollapse[collapseobj_forumhome_threads]"> HTML Code:
style="$vbcollapse[collapseobj_forumhome_latestthreads]"> Do you have a default icon specified in your options? If so what have you entered there? |
Quote:
Quote:
Can you gimme a hint, where to look for it? Best regards Goyko |
ACP -> vBulletin Options -> Thread Display Options (showthread) -> Show Default Post Icon
I assume its still there in post Gamma versions. |
Quote:
Yes I have entered "images/icons/icon1.gif" in this field. And the icon exists. But ... shame on me :rolleyes:... the problem is NOT the default icon! There are only problems, if an icon has been chosen for the post! So it's the exact opposite, from what I was telling before. Weird! Sorry for misleading you ... should have observed more carefully! Best regards... Goyko |
OK, this should fix it:
Find this code in index.php PHP Code:
PHP Code:
|
All it does, is leading to a parse error on line 464 :(
Greez Goyko |
Whats on line 464?
|
Never mind :rolleyes:
I forgot a closing ";" at the end. Now going to check if it works. Goyko Edit: Now it works! Thanks very much! |
Thank you for making this hack!
You should put your Icon FIX into the installer cause I had the same problem! After the fix it seems to worked with the icons HOWEVER why can I see postings made in my developer section when I?m loged out? Only Admins and Developers have access there!??? I thought the permissions where checked before displaying? * StarBuG clicks install but hopes the fix for permissions comes soon StarBuG |
I can't confirm this, I've just tested this code again and it excludes the forums I don't have access to. Are you sure you setup the permissions correctly? This checks the canview and can view others permissions for each forum.
|
<a href="http://www.hiphop-battles.com/forum/index.php" target="_blank">http://www.hiphop-battles.com/forum/index.php</a>?
Can you please go there and tell me wich 5 threads you see last posted? I´ve already checked the permissions. Guest have all NO in these category and the subforums are inharited Greetings Star |
There are threads that I don't have access to, I looked before I double checked the code. Do you have any other changes made to index.php? I've been using this code for 7 months now with no problems.
Upload the attached file and run it as a user of various groups, it should print a list of all the forums you don't have access to. Try it as a guest and see if it mentions the forums that appear on the latest threads. |
No Access To Forum ID: 14 (Mod Cat)
No Access To Forum ID: 15 (Mod) No Access To Forum ID: 11 (Dev Cat) No Access To Forum ID: 12 (Dev) No Access To Forum ID: 13 (Dev) That are exactly the forums I don´t want guests to have in But I still can see the posts from these forums! I made some changes in index (users only last 24 hours) but I don´t think that this is the reason for the problem cause there is nothing related to permissions Any ideas? Greetings Star |
I can confirm the problem, Starbug is talking about!
It includes the forums, I have NO access to, lists the new posts, but if I click on an entry, it tells me, that I don't have access to view it. Shouldn't be even visible! Best regards. Goyko |
Turn on debug mode, add $debug = 1; in config.php and then visit index.php?showqueries=1 and look for the query smimilar to what you added to index.php, in particular this bit:
[sql]AND forumid NOT IN (0)[/sql] It should be 0,X,Y,Z where each of the letters represents a forum that your not allowed to view. If its just got 0 then I'll rework the code. |
I added the line to the config.php but nothing showed up at index.php?showqueries=1
But the debug mode is on cause I have the drop down below my forum and wich templates where called (I deactivated it again) Do I have to do something in AdminCP as well? Star |
Click the 'Explain' link, it does a similar thing.
|
It only shows up an empty page!
I leave it on for you to check Hope you can help me You can see the hacks I´ve installed in my news forum (but only the useronline required editing the index.php) Greetings Star |
Change:
PHP Code:
PHP Code:
|
Quote:
|
YES
It works!!! PERFECT! Thank you very much for the fast support StarBuG |
Quote:
Now it does work perfectly! Thanks for this great hack! Best regards Goyko |
how many queries does it add? thanks
|
Great Thread! :)
|
i`d love to see that panel just under navbar i was trying to put it there but colapse doesn`t work so far... :( any chanse for help?
|
Make sure you copy all the HTML and place it within a table under the navbar.
HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center"> |
thanx a lot! very quick ;) one more question - how to make more letters to be awailable from thread name? I mean now it look like:
New thread Last post: today 21:11 from M.C. replyes: 5 >> views: 10 New thread abou... Last post: today 21:11 from M.C. replyes: 5 >> views: 10 I want to see more here like: New thread about new style... Where to change amount of letters? Thanks! |
In index.php find:
PHP Code:
|
Thanks a million! Great job! Click install! Good Luck!
|
All times are GMT. The time now is 04:43 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:
|