Version: 1.60, by Atakan KOC
Developer Last Online: Mar 2023
Category: Forum Home Enhancements -
Version: 3.6.8
Rating:
Released: 06-26-2007
Last Update: 07-06-2007
Installs: 301
Uses Plugins Template Edits
No support by the author.
[AJAX] Top X - ALP Pro
Features:
Uses AJAX technology
Ajax - Last Post preview
Latest Posts
Top Posters
Newest Members
Most Replied To Thread
Most Viewed Thread
Disallow Forum Settings
Turn On/Off Date & Time
Location Settigs
Displayed Characters Settings
easy Product installer/updater/uninstaller
On/Off Top Poster
On/Off Newest Members
On/Off Popular Thread
auto-refresh option
New post icon On/Off
install
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-alatestposts.xml' from your computer then press 'Import'
Modifications Info
Plugin : 3 Phrases : 36 Template : 6 Setting : 9
Latest Posts Setting
Go to your admin cp, then:
vBulletin Options -> [AJAX] Latest Posts ->
Versions: v1.0 - 27 June 2007
-First release
v1.1 - 28 June 2007
- Characters problem fixed
- Disallow Forum Added
- alp_forumhome template deleded
- a Waiting Animated Change
v1.2 - 29 June 2007
- Added Thread Title Displayed Characters
- Added Usernames Displayed Characters
- Added Forums Displayed Characters
- Added Date & Time line
- Added Top Posters
- Added Newest Members
- On/Off Date & Time
- Added Location Settigs
- Navbar Bellow / Forums Above / Forums Below / Whois Online Below
- Updating Mod Picture
v1.3 - 29 June 2007
- Added Popular Thread Menu
- Added Most Replied To Thread
- Added Most Viewed Thread
v1.4 - 02 July 2007
- Added Turn Top Poster On/Off
- Added Turn Newest Members On/Off
- Added Turn Popular Thread On/Off
v1.5 - 04 July 2007
- Added auto-refresh option
- Buttons Change
- Small Change Template
- Forum Title Problem Fixed
- Added vBulletin 3.5.x version
v1.6 - 07 July 2007
- New post icon On/Off
- Ajax - Last Post preview "Click ▼",
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Btw I noticed another bug with this: If in a forum a user can only view own threads and not others' threads, the permission doesn't get applied to the new posts: He can view others' threads from that forum as well.
Here's how to fix this
In plugins Alp Ajax Start and Alp Load find:
PHP Code:
$excludedforums = '';
add below:
PHP Code:
$ownthreadsforums = '';
Find:
PHP Code:
if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) { $excludedforums = $excludedforums . ',' . $forum['forumid']; }
Add below:
PHP Code:
else if(!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND !$vbulletin->options['showprivateforums']) { //can can't view others' threads here $ownthreadsforums .= ',' . $forum['forumid']; }
Find:
PHP Code:
// get rid of initial comma $excludedforums = substr($excludedforums, 1);
Add below:
PHP Code:
$ownthreadsforums = substr($ownthreadsforums, 1);
Find:
PHP Code:
if ($excludedforums != "") { $excludedforums = "AND thread.forumid NOT IN ($excludedforums)"; }
Add below:
PHP Code:
if($ownthreadsforums != '') { $ownthreadsforums = "AND (thread.forumid NOT IN ($ownthreadsforums) OR thread.postuserid = " . $vbulletin->userinfo['userid'] . ')'; }
Couldn't this be made to only show latest posts from forums that the current user has access to view? That would be better than manually disallowing several forums by looking up their id's.