vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Last X threads in forumhome for a specific forum {Version 2.9} (https://vborg.vbsupport.ru/showthread.php?t=106726)

Developer 01-29-2006 10:00 PM

Last X threads in forumhome for a specific forum {Version 2.9}
 
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 https://www.paypal.com/en_US/i/btn/x...tcc-donate.gif
aT lAsT
IF YOu lIkE iT cLIcK InsTall
Support Given For Who Clicked Install {ONLY}

bashy 01-30-2006 04:51 PM

Nice 1 m8 will look into this :)

EDIT: *Clicks Install*

Great hack m8, gonna have a play wiv it :)

Allan 01-30-2006 04:55 PM

Wazaaaaaaaaaaaaaaaa :D

Very Nice Developer ;)

Click Install

bashy 01-30-2006 05:13 PM

I have just had a wee play with it and tried to disable it from the admincp using the on off bit and when its turned off, its still shows the stats??

GamerJunk.net 01-30-2006 05:39 PM

Couple of things, this is a good idea, yet it's flawed by the way it appears...

The text is really poor looking, also it's large text and there is no way to have it list all new threads from one category?

GamerJunk.net 01-30-2006 05:41 PM

Bashy. that's because you are adding the hard code into your template. This would work better if the code was used in the hook and just searched for the $navbar. I'm going to edit this around because currently I am using it in my right sidebar.

www.gsnforce.com/forum

bashy 01-30-2006 05:43 PM

Cheers m8

I pulling it off for now, but will keep the installed button depressed for further updates ;)

Quote:

Originally Posted by RasMasta
Bashy. that's because you are adding the hard code into your template. This would work better if the code was used in the hook and just searched for the $navbar. I'm going to edit this around because currently I am using it in my right sidebar.

www.gsnforce.com/forum


Developer 01-30-2006 05:45 PM

Quote:

Originally Posted by bashy
I have just had a wee play with it and tried to disable it from the admincp using the on off bit and when its turned off, its still shows the stats??

The collapsing taple only appear
*gonna fix it in the next version

Developer 01-30-2006 05:48 PM

Quote:

Originally Posted by RasMasta
Couple of things, this is a good idea, yet it's flawed by the way it appears...

The text is really poor looking, also it's large text and there is no way to have it list all new threads from one category?

*gonna fix text size in next version
you can do this by putting all child forums ID seprating by OR
example:we have a cat. with id 1 and two forums with ids 2,3
you will edit the setting and put 2 OR 3

Developer 01-30-2006 05:54 PM

Now plz give me the final look and plz notice this hack for a specific forum maybe forums in next version
now tell me what do you think about listing threads?
what do you think about the font?
what about adding replies,views,last reply by,thread starter,reply link and make it optionally?
and so on


All times are GMT. The time now is 03:29 AM.

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.01354 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete