![]() |
|
Mod Options |
![]() |
|||||||||||||
In an attempt at mirroring an old ASP website I used to have, I modified the recent threads display to show a bit more information in a bit more compressed format.
Feel free to use/hack/slash this code for your own needs... Navigate to AdminCP -> CMS -> Widgets. Create a PHP Type Widget and paste the below code. READ BELOW THE CODE FOR AN UPDATE
Updated to reflect contribution from Inflikted: http://www.vbulletin.org/forum/showp...7&postcount=25 Be SURE to update the following line:if (!in_array($recent_thread[forumid], array(105,83,121,110,82,112,109,101,102,72))), to group the forumids you wish to NOT have included in the query results. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
The following members like this post: psd_hunter
|
#121
|
|||
|
|||
why i have space above my first post in this widget ?
how to remove that. thanks for the help, will appreciate it much No members have liked this post.
|
#122
|
|||
|
|||
how do you change how old the threads can be before they stop showing there, and the number of threads to show in this widget?
__________________
nothing left to say No members have liked this post.
|
#123
|
|||
|
|||
anything anybody?
__________________
nothing left to say No members have liked this post.
|
#124
|
||||
|
||||
Originally Posted by Wordplay
Did you look at the code? It's been a while for me, but there's a line "LIMIT 0, 10" that sure sounds like it's setting the output to 10; just lower it.![]()
I don't think you can set a cutoff date easily. If you set the output to 5, it will get 5 regardless of dates. No members have liked this post.
|
#125
|
||||
|
||||
anyway to make this ajax ?
__________________
A Leader and initiator. ![]() No members have liked this post.
|
#126
|
||||
|
||||
Depends on how skillful you are. Let us know if you manage it.
No members have liked this post.
|
#127
|
|||
|
|||
Link me to your forum and I can fix this. I had the same issue and resolved it, but I can't remember what I had to change. I will have to inspect your page.
No members have liked this post.
|
#128
|
|||
|
|||
The exclusion list should simply be added to the query, no?
Just move the line where you build the list before the query and add it to the WHERE clause. No members have liked this post.
|
#129
|
|||
|
|||
This work on 4.1.10?
No members have liked this post.
|
#130
|
|||
|
|||
I'm running 4.1.10 and It's working just fine for Me.
![]() No members have liked this post.
|
#131
|
||||
|
||||
how to do it to show for specific forums only ?
No members have liked this post.
|
#132
|
|||
|
|||
I apologize for bumping this but does anyone know if it would be possible to pull off showing the forums instead of the threads? I've provided a roughly photoshoped image to explain.
![]() No members have liked this post.
|
#133
|
||||
|
||||
Works for me on 4.1.12
![]() No members have liked this post.
|
#134
|
||||||||
|
||||||||
Prefix
Great Work, thank you!
To get the prefix to be shown to the recent thread add:
Widget new:
No members have liked this post.
Last edited by barnsi; 15 Aug 2012 at 05:09. |
#135
|
|||
|
|||
Please, have somebody an idea how to put the last posts (not topics) inside this widget and have somebody a version what shows the avatars?
Thank you in advance 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 08:42.