Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Last X threads in forumhome for a specific forum {Version 2.9} Details »»
Last X threads in forumhome for a specific forum {Version 2.9}
Version: 3.0, by Developer Developer is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-29-2006 Last Update: 06-08-2006 Installs: 162
Uses Plugins Template Edits
 
No support by the author.

Description::.
This hack Shows last X threads for a specific forum in forumhome
Requested By Allan
[Hack Features::.
1-easy yo install
2-admin Controllable
Version 2.5
3-Now you have 3 columns
4-every column is controllable
5-for every coloumn you have three options
1.ON/OFF
2.Forum ID You Can put more than one forum id by puting id then , then id eg:1,2
3.Forum Name
6-When You Put the mouse on any thread an alt views with
1.Posted By
2.Last Rebly By
3.Replies
4.Views
5.# of Attachment
Admin Controllable
From vBulletin Options ==> vBulletin Options ==> Last X threads in forumhome for a specific forum(s).]

Installation::.
1-Import The Product.
2-Edit template FORUMHOME
find:
Code:
$navbar
add below:
Code:
<if condition="$vboptions[endislastx]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('developer')"><img id="collapseimg_developer" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_developer].gif" alt="" border="0" /></a>
			<img border="0" src="$stylevar[imgdir_misc]/subscribed_event.gif"> $vbphrase[ltff]$forumnamedevel
		</td>
	</tr>
</thead>
<tbody id="collapseobj_developer" style="$vbcollapse[collapseobj_developer]">
	<tr>
		<td class="alt1">
			<table width='100%' cellspacing="0" border="0">
<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel3</td></if>
	</tr>
	<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left">$lastxdevelt1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left">$lastxdevelt2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left">$lastxdevelt3</td></if>
	</tr>
</table>
		</td>
	</tr>
</tbody>
</table><br></if>
History::.
1.0 On 30. Jan 2006 Initial Version.
2.5 On 31. Jan 2006 Fix On/Off the hack add many features(see features)
2.7 On 9. Feb 2006 Now You Can put more than one forum id by puting id then , then id eg:1,2
2.8 On 13. Feb 2006 Column 3 Font Size Fixed
2.9 On 21. Mar 2006 Add Max Title Characters Length.
3.0 On 8. Apr 2006 Add setting for order by:dateline,lastpost time
Hack Languages
allan Had translate the hack to french. here
Hellraider Had translate the hack to german. here
Details
3 plugins , 21 phrases , 13 options , 3 Queries
NOTE:If you won't use any of the columns except 1 or 2 column, disable the unused column because it's uses a query
Donation::.
Feel Free To
aT lAsT
IF YOu lIkE iT cLIcK InsTall
Support Given For Who Clicked Install {ONLY}

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 02-10-2006, 08:35 AM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarsNIIT
Yes, , i have try but can't, can you tell me how to display $lastxdevelt3 in other forum id???

Thanks.
you mean in other scripts like forumdisplay.php
threadisplay.php

?
Reply With Quote
  #83  
Old 02-10-2006, 09:05 AM
MarsNIIT MarsNIIT is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://2it.in/forumdisplay.php?f=114 <= I want it display here , but seem it can't now.
Reply With Quote
  #84  
Old 02-10-2006, 10:37 AM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

upload the new plugin
then use the new code below
Code:
<if condition="THIS_SCRIPT == 'forumdisplay'"><if condition="$vboptions[endislastx]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('developer')"><img id="collapseimg_developer" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_developer].gif" alt="" border="0" /></a>
			<img border="0" src="$stylevar[imgdir_misc]/subscribed_event.gif"> $vbphrase[ltff]$forumnamedevel
		</td>
	</tr>
</thead>
<tbody id="collapseobj_developer" style="$vbcollapse[collapseobj_developer]">
	<tr>
		<td class="alt1">
			<table width='100%' cellspacing="0" border="0">
<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel3</td></if>
	</tr>
	<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left">$lastxdevelt1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left">$lastxdevelt2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left">$lastxdevelt3</td></if>
	</tr>
</table>
		</td>
	</tr>
</tbody>
</table><br></if></if>
Reply With Quote
  #85  
Old 02-10-2006, 10:47 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Developer
i'll make a edit for you
what permissions you need?
1. Fine thx ...

2. I mean the Admin, SMod and Modpermission of the Forums.
Reply With Quote
  #86  
Old 02-10-2006, 12:25 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry not read though whole thread, so if suggested please ignore anychance you can add a feature so we get threads with > xx replies? e.g. I so I can get unasnwered threads listed.
Reply With Quote
  #87  
Old 02-10-2006, 12:45 PM
MarsNIIT MarsNIIT is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Developer
upload the new plugin
then use the new code below
Code:
<if condition="THIS_SCRIPT == 'forumdisplay'"><if condition="$vboptions[endislastx]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('developer')"><img id="collapseimg_developer" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_developer].gif" alt="" border="0" /></a>
			<img border="0" src="$stylevar[imgdir_misc]/subscribed_event.gif"> $vbphrase[ltff]$forumnamedevel
		</td>
	</tr>
</thead>
<tbody id="collapseobj_developer" style="$vbcollapse[collapseobj_developer]">
	<tr>
		<td class="alt1">
			<table width='100%' cellspacing="0" border="0">
<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left"><img border="0" src="$stylevar[imgdir_misc]/sticky.gif"> $vbphrase[ltfff]$forumnamedevel3</td></if>
	</tr>
	<tr>
		<if condition="$vboptions[endislastx1]"><td width="33%" align="left">$lastxdevelt1</td></if>
		<if condition="$vboptions[endislastx2]"><td width="33%" align="left">$lastxdevelt2</td></if>
		<if condition="$vboptions[endislastx3]"><td width="33%" align="left">$lastxdevelt3</td></if>
	</tr>
</table>
		</td>
	</tr>
</tbody>
</table><br></if></if>

Thank you verry much, it run fine, but i want it display also both forum home and theard forum , when i import new plugin, it only display in theard forum , forum home not display more .
Reply With Quote
  #88  
Old 02-10-2006, 12:59 PM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarsNIIT
Thank you verry much, it run fine, but i want it display also both forum home and theard forum , when i import new plugin, it only display in theard forum , forum home not display more .
open the product for forum home
at line 3
find:
Code:
<product productid="lasxtdevel" active="1">
change
Code:
lasxtdevel
to anything
Reply With Quote
  #89  
Old 02-10-2006, 01:00 PM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour
1. Fine thx ...

2. I mean the Admin, SMod and Modpermission of the Forums.
you mean staff forum????
Reply With Quote
  #90  
Old 02-10-2006, 01:02 PM
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Location: EgYpT
Posts: 662
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by -=Sniper=-
sorry not read though whole thread, so if suggested please ignore anychance you can add a feature so we get threads with > xx replies? e.g. I so I can get unasnwered threads listed.
mmmmmmmmmm my hack was build for latest thread not latest active thread but never mind i'll edit the product for you
Reply With Quote
  #91  
Old 02-10-2006, 01:05 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so to have it display both on forumhome and forumdisplay.....sorry mate for sounding thick, but i didnt understand when u said change that command in line 3 to "anything"

tell ya wot tho, this is a real "in your face" hack, to encourage more traffic on the board, saves ages searching for stuff.....
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:29 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
  • Page Generation 0.04976 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete