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

Allan 01-30-2006 06:24 PM

it's possible to add other ID forum ?

with: ID forum 1.2.3. etc ....

EDIT: This fonction: "Enable/Disable The Hack" don't work with me :(

Developer 01-30-2006 06:46 PM

Quote:

Originally Posted by Allan
it's possible to add other ID forum ?

with: ID forum 1.2.3. etc ....

EDIT: This fonction: "Enable/Disable The Hack" don't work with me :(

Use 1 OR 2 OR 3
i'll fix it in next release

Allan 01-30-2006 06:57 PM

Quote:

Originally Posted by Developer
Use 1 OR 2 OR 3
i'll fix it in next release

hum, exemple: 1,2,3 ? (error sql with this exemple)

Snake 01-30-2006 07:06 PM

Nice work there! :)

nhacso 01-30-2006 09:06 PM

Developer, your mod hack alway put all thread of specific forum to forumhome with only one columns. In next release: you can edit code make all thread of every specific forum to arrange in one different column.

More Simply, if in admincp/vbulletin options/Last X threads in forumhome for a specific forum, I set Forum ID is 2,3 and set Forum Name is A,B. The end, the index forum appear the table with first row is name "Lastest thread in forum", the second row will include two colum (2 td), first column is A, second column is B, every column will contain thread of forum I set in last step in admincp. I think if set my way, the lastest in forumhome is look good better.

Demo same is:

https://vborg.vbsupport.ru/

bashy 01-30-2006 09:08 PM

ooo i do like that idea???? :)

Quote:

Originally Posted by nhacso
Developer, your mod hack alway put all thread of specific forum to forumhome with only one columns. In next release: you can edit code make all thread of every specific forum to arrange in one different column.

More Simply, if in admincp/vbulletin options/Last X threads in forumhome for a specific forum, I set Forum ID is 2,3 and set Forum Name is A,B. The end, the index forum appear the table with first row is name "Lastest thread in forum", the second row will include two colum (2 td), first column is A, second column is B, every column will contain thread of forum I set in last step in admincp. I think if set my way, the lastest in forumhome is look good better.

Demo same is:

https://vborg.vbsupport.ru/


Allan 01-30-2006 09:18 PM

Quote:

Originally Posted by bashy
ooo i do like that idea???? :)

http://www.vbulletin.com/forum/showthread.php?t=158887 ;)

nhacso 01-31-2006 12:01 AM

Quote:

Originally Posted by Allan

No, this is the latest thread in all forum. My Idea above is a lot thread of selected forum appear in Forum Home (every forum put in another column).

GamerJunk.net 01-31-2006 05:33 AM

developer...look at the latest threads on my forum homepage

www.gsnforce.com/forum

It would look best if formatted like that

Developer 01-31-2006 01:02 PM

Quote:

Originally Posted by Allan
hum, exemple: 1,2,3 ? (error sql with this exemple)

i knew this so use 1 OR 2 OR 3

Developer 01-31-2006 01:04 PM

Quote:

Originally Posted by nhacso
Developer, your mod hack alway put all thread of specific forum to forumhome with only one columns. In next release: you can edit code make all thread of every specific forum to arrange in one different column.

More Simply, if in admincp/vbulletin options/Last X threads in forumhome for a specific forum, I set Forum ID is 2,3 and set Forum Name is A,B. The end, the index forum appear the table with first row is name "Lastest thread in forum", the second row will include two colum (2 td), first column is A, second column is B, every column will contain thread of forum I set in last step in admincp. I think if set my way, the lastest in forumhome is look good better.

Demo same is:

http://img494.imageshack.us/img494/7...tthread6hh.gif

nice idea i'll work on this

Developer 01-31-2006 01:06 PM

Quote:

Originally Posted by RasMasta
developer...look at the latest threads on my forum homepage

www.gsnforce.com/forum

It would look best if formatted like that

do you mean; Latest Gamer News
Latest Threads
Latest News
simply you need latest thread for a column ok i'll release it soon

GamerJunk.net 01-31-2006 04:19 PM

Latest Threads

Developer 01-31-2006 04:56 PM

Version 2.5 Released With a great Features You have to import the new product with allowing overwrite and redit the template
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
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
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

bashy 01-31-2006 05:46 PM

Hi m8, I have done the update..

I have enabled all three colums and colum 1 and three
have the same forum title no matter whay i put for colum 1
it shows the name for colum 3 :(

Any ideas please?

Developer 01-31-2006 05:53 PM

Quote:

Originally Posted by bashy
Hi m8, I have done the update..

I have enabled all three colums and colum 1 and three
have the same forum title no matter whay i put for colum 1
it shows the name for colum 3 :(

Any ideas please?

oh such a silly mistake made by me sorry
redit the template again
update the first post

bashy 01-31-2006 05:55 PM

Chers m8

I have also just tried addint it to the Header template as i would like it showing all the time if ya know what i mean..

Thing is it shows the

Latest Forum Threads

Latest from: Latest from: Latest from:

And thats it, no threads, is this just for the forumome template?

Developer 01-31-2006 06:00 PM

Quote:

Originally Posted by bashy
Chers m8

I have also just tried addint it to the Header template as i would like it showing all the time if ya know what i mean..

Thing is it shows the

Latest Forum Threads

Latest from: Latest from: Latest from:

And thats it, no threads, is this just for the forumome template?

yes, but if you want to add this in any template i'll make this in the next release

bashy 01-31-2006 06:02 PM

Ok m8 thanks...will look forward to it in anticipation :)

Great hack m8 well done :)

bashy 01-31-2006 06:12 PM

Just a quicky m8...
Any chance on setting this so guests cant see it please?
Perhaps the forum titles could be linked to the actual section itself?
Even if it was simply done with a url lol that would be better :)

Developer 01-31-2006 07:17 PM

Quote:

Originally Posted by Developer
yes, but if you want to add this in any template i'll make this in the next release

but there's a disadvantage in this on every page the forum will run 3 queries and i don't do this so i'll release it as another product

Developer 01-31-2006 07:19 PM

Quote:

Originally Posted by bashy
Just a quicky m8...
Any chance on setting this so guests cant see it please?
Perhaps the forum titles could be linked to the actual section itself?
Even if it was simply done with a url lol that would be better :)

Guests could see this
*i'll include forum title by adding the forum id with some new options
url? :surprised:

bashy 01-31-2006 07:33 PM

Sorry, did i read that wrong...Is there a way to stop guests reading this?

One more small idea, Is there a way to limit the amount of characters displayed per thread list?

Developer 01-31-2006 07:56 PM

Quote:

Originally Posted by bashy
Sorry, did i read that wrong...Is there a way to stop guests reading this?

One more small idea, Is there a way to limit the amount of characters displayed per thread list?

I Did https://vborg.vbsupport.ru/external/2009/02/1.gif
yes There's a way
*good idea
*i'll include a setting for guests so ypu can enable/disable reading the last threads

bashy 01-31-2006 08:00 PM

Excellent m8 thank you :) look forard to it :)

Quote:

Originally Posted by Developer
I Did https://vborg.vbsupport.ru/external/2009/02/1.gif
yes There's a way
*good idea
*i'll include a setting for guests so ypu can enable/disable reading the last threads


Allan 01-31-2006 08:23 PM

Haughtiness job Developer :D

I translate ;)

Allan 01-31-2006 09:36 PM

@Developer: it's possible for the next version to add several ID in same the colone ?

French Language for V2.5 ;)

Developer 01-31-2006 09:39 PM

Quote:

Originally Posted by Allan
@Developer: it's possible for the next version to add several ID in same the colone ?

French Language for V2.5 ;)

You still can do this by using 1 OR 2 OR 3
seperate forums id by OR

Allan 01-31-2006 09:47 PM

Quote:

Originally Posted by Developer
You still can do this by using 1 OR 2 OR 3
seperate forums id by OR

Check this fonction with several ID because at home don't work.

Allan 01-31-2006 09:50 PM

So, the members and guest can see the titles of the threads of the private forum :surprised:


All times are GMT. The time now is 04:42 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.01427 seconds
  • Memory Usage 1,852KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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