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

Reply
 
Thread Tools
FA Latest News Details »»
FA Latest News
Version: 1.2, by farooqaaa farooqaaa is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 02-07-2007 Last Update: 02-08-2007 Installs: 71
Uses Plugins Template Edits
 
No support by the author.

Hello,

***** This HACK is brought to you by Betlik.com *****


* Description:
Show latest news on FORUMHOME.

* Features:
- Whole Hack Enable/Disable
- Allow separate usergroups.
- Expand/Collapse Table
.....more features coming soon in next versions.

* How to install?

Download the version you like. Goto your VBulletin AdminCp > Plugins & Products > Add/Import Product and upload the XML you downloaded.

Now Open Template: "navbar", at the bottom add:-
Quote:
$latest_news
And you are done

Version History:
1.0 - Initial release.
1.1 - New Feature: Collapse / Expand Table
1.2 - News title is now in a "thead" td.

***** Please click to Install if you like this hack *****

Thanks

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 02-08-2007, 09:51 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the news box collapsible? if not maybe a feature request.

Thanks.
Reply With Quote
  #13  
Old 02-08-2007, 10:05 PM
marcsmith73 marcsmith73 is offline
 
Join Date: Dec 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this hack. Simple, and effective.
Reply With Quote
  #14  
Old 02-09-2007, 01:10 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Farooq

Like this a lot

Install

Oh just wanted to ask if there was anyway to customize the
background color of the box?

Thanks
Reply With Quote
  #15  
Old 02-09-2007, 04:58 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make the box collapse ---

In template latest_news, find:
Code:
<td class="tcat">Latest News</td>
Replace with:
Code:
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('latenews')"><img id="collapseimg_latenews" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_latenews].gif" alt="" border="0" /></a>Latest News</td>
Find:
Code:
  </tr>
  <tr>
Replace with:
Code:
  </tr>
<tbody id="collapseobj_latenews" style="$vbcollapse[collapseobj_latenews]">
  <tr>
Find:
Code:
</table>
Add above:
Code:
</tbody>
Reply With Quote
  #16  
Old 02-09-2007, 06:16 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Installed...

Reply With Quote
  #17  
Old 02-09-2007, 08:44 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved thanks,


Quote:
Originally Posted by Atakan KOC View Post
Thanks Installed...


What does this mean Atakan KOC in your post this code :

Code:
Reply With Quote
  #18  
Old 02-09-2007, 10:04 AM
farooqaaa farooqaaa is offline
 
Join Date: Aug 2006
Location: Pakistan
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Is the news box collapsible? if not maybe a feature request.

Thanks.
ok version 1.1 is released with "collapse / expand".

Enjoy!
Reply With Quote
  #19  
Old 02-09-2007, 10:31 AM
farooqaaa farooqaaa is offline
 
Join Date: Aug 2006
Location: Pakistan
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.2 Version released. Now the News Title will be in a "thead" td. See the new screenshot:
Reply With Quote
  #20  
Old 02-09-2007, 06:40 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, yes. I was wondering about that. Didn't quite mind the bold text as a header and didn't really feel the need to add a thead on a box with only one short blurb in it... Still I'll install the update. Thanks!
Reply With Quote
  #21  
Old 02-09-2007, 07:50 PM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if the usergoup its for example 25 doesnt appeard

I remove from template this code

<if condition="$bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{0} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{2} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{4} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{6} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{8} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{10}">

And now works with all usergroups byt i cannot restrict

Strainge error
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 01:45 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.04666 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (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
  • (3)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