Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Threads On Forum Home Details »»
Latest Threads On Forum Home
Version: 1.1.2, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-15-2005 Last Update: 10-23-2005 Installs: 458
Uses Plugins Template Edits
 
No support by the author.

[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Modify the [high]FORUMHOME[/high] template
Find:
HTML Code:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
Add below:
HTML Code:
<!-- latest threads -->
<if condition="$show['latestthreads']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
			$vbphrase[latest_threads]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" /></td>
		<td class="alt1"><div class="smallfont">$threadbits</div></td>
	</tr>
</tbody>
</if>
<!-- /latest threads -->
Step 3: Click [high]INSTALL[/high]

[high]Credits[/high]
NTLDR - For allowing me to port his vB3 hack of this

[high]Updates[/high]
Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions - If you are upgrading, please delete the previous plugin, and upload the new one - This new plugin also has the uncached template fix

Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol - To upgrade, simply replace the plugin with the one attached

Version 1.1.2: Simple update to fix a permissions bug again - To upgrade, simply replace the plugin with the one attached

Chris

Show Your Support

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

Comments
  #112  
Old 07-15-2005, 06:38 AM
ForYou ForYou is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Satan ,

please if you can to let me how can i do marquee last theard at the top of forum home page ,

and there is another thing , is there a way to view the orginal poster of theard and and lastposter togather ,

regards
Reply With Quote
  #113  
Old 07-15-2005, 07:05 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey... I think it would be cool if you could set it to only Hot Topics... Yea, that way people could add a caption like "Highlighted Forum Discussions" like sitepoint does.

I probably wouldn't use it, as I don't like to clutter my board index, but it's just a thought.
Reply With Quote
  #114  
Old 07-17-2005, 10:38 AM
ForYou ForYou is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForYou
Hello Satan ,

please if you can to let me how can i do marquee last theard at the top of forum home page ,

and there is another thing , is there a way to view the orginal poster of theard and and lastposter togather ,

regards
Satan Hello ,


Please help

Regards
Reply With Quote
  #115  
Old 07-17-2005, 02:25 PM
HSN's Avatar
HSN HSN is offline
 
Join Date: Feb 2003
Location: hsnworld.com
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
I installed it but didn't see any changes there!! How would this hack appear in my forum?!
Reply With Quote
  #116  
Old 07-21-2005, 12:53 PM
albarq albarq is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForYou


please if you can to let me how can i do marquee last theard at the top of forum home page ,


Regards
change the code inside forumhome_latestthreadbit to this one:

PHP Code:
<a href="showthread.php?t=$thread[threadid]title="$thread[preview]"><strong>$thread[title]</strong></a>&nbsp<a title="$thread[date] $thread[time]$vbphrase[replies]$thread[replycount]    ? $vbphrase[views]$thread[views]href="showthread.php?goto=newpost&t=$thread[threadid]"><span style="text-decoration: none"><font color="#000000">$vbphrase[last_postby </font></span></a> <phrase 1="member.php?find=lastposter&t=$thread[threadid]2="$thread[lastposter]">$vbphrase[by_x]</phrase>    &nbsp;&nbsp;.:|:.&nbsp;&nbsp
you can change it if you wish...


then go to the FORUMHOME and change the position of this hack from down to the top ..

so you need to search for

PHP Code:
<!-- latest threads -->
<if 
condition="$show['latestthreads']">
<
table class="tborder" border="0" width="100%" align="center">
<
tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
    <
tr>
        <
td class="alt1"><div class="smallfont"><marquee dir="rtl" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=2" scrollAmount="4" scrollDelay="50" direction="right" height="35">$threadbits</marquee></div></td>
    </
tr>
</
tbody>
</
table>
</if>
<!-- /
latest threads --> 
hope that will work...

thank you
Reply With Quote
  #117  
Old 07-21-2005, 01:00 PM
albarq albarq is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hellsatan, sorry

i found a small issues , i have a small forum which its topics just appears to them owner and moderator... so, could you upgrade this hack please to work with this forum ??

thank you
Reply With Quote
  #118  
Old 07-21-2005, 02:47 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure I understand the request...

You want threads that are only viewable by the user who posted it and moderators to remain so in the Latest Threads box? Or you don't want them to show up at all?

If the user does not have permission to view the threads then they won't show up in the box - If you want to exclude the forum from showing on the latest threads box altogether, alter the plugin, replacing:
PHP Code:
AND forumid NOT IN (0$limitfids
with:
PHP Code:
AND forumid NOT IN (0,X$limitfids
Replace [high]X[/high] with the forumid of that forum, but DO NOT add a comma after the X

Satan
Reply With Quote
  #119  
Old 07-22-2005, 01:22 AM
albarq albarq is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hummm No, i dont want to hide all the fourm topics,

i just want this topics appear to the people who have the permission to view (poster or moderator)... otherwise, not.... rather than appearing/hiding all topics to every one .


BECAUSE now all the topics appears to every one , if there is a problem from my side, please guide me.


thank you for your replying

albarq
Reply With Quote
  #120  
Old 07-22-2005, 09:25 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by albarq
hummm No, i dont want to hide all the fourm topics,

i just want this topics appear to the people who have the permission to view (poster or moderator)... otherwise, not.... rather than appearing/hiding all topics to every one .


BECAUSE now all the topics appears to every one , if there is a problem from my side, please guide me.


thank you for your replying

albarq
It should already do this - If it does not, make sure you are running the latest version of this plugin

Satan
Reply With Quote
  #121  
Old 07-23-2005, 11:47 AM
albarq albarq is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya, i have the last plug-in

see this example for your code

PHP Code:
## GET LATEST THREADS ## 
    
SELECT thread.*,thread.iconid AS threadiconid $previewfield 
    FROM 
".TABLE_PREFIX."thread AS thread 
    LEFT JOIN 
".TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid deletionlog.primaryid AND type 'thread'
    
$previewjoin 
    WHERE open 
<> 10 
    
AND forumid NOT IN (0$limitfids
    AND 
thread.visible '1' 
    
AND deletionlog.primaryid IS NULL 
    ORDER BY lastpost 
    DESC LIMIT 10
"); 
Reply With Quote
Reply


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 10:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05053 seconds
  • Memory Usage 2,357KB
  • 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
  • (2)bbcode_html
  • (5)bbcode_php
  • (3)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
  • (2)pagenav_pagelinkrel
  • (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