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 Announcements Details »»
FA Latest Announcements
Version: 1.0.1, by Farjad Farjad is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 11-24-2006 Last Update: 11-29-2006 Installs: 37
Uses Plugins Template Edits
 
No support by the author.

What is this for?
This hack is mainly made for showing announcements on forumhome.

----------
Main purpose of this was just to show announcements to my users as they barely go in Announcements sections.. so I made this hack and now deciding to release this here.

If you use this hack do click install



Updates:
v1.0.1
- Added Sticky option

v1.0.0
- Updated Template Problem
- Updated Table Prefix Problem

Show Your Support

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

Comments
  #32  
Old 12-03-2006, 07:52 AM
yui333 yui333 is offline
 
Join Date: Dec 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MimeSong Erk View Post
I really like this plug, and have skinned it to be a lot more concise - I'd be willing to share if anyone is interested, it is not complex. You can see at www.rmxp.org

I have a question about how the topics in the FA block are ordered. On my forum as I post this, the 3 latest announcements are:
  • No October backup.
  • Dragon Kid Image Dump
  • RMXP.org's downtime: The whole story
in that order. However, the chronological order of which has the most recent posts is:
  • Dragon Kid Image Dump
  • No October backup.
  • RMXP.org's downtime: The whole story
Why is the FA bit not updating as fast as the forum listing itself?
Nice modification! Can you let us try it?.. Thanks
Reply With Quote
  #33  
Old 12-03-2006, 10:24 AM
MrPHD's Avatar
MrPHD MrPHD is offline
 
Join Date: Feb 2006
Location: Portugal
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack, Great job. Thanks
Reply With Quote
  #34  
Old 12-03-2006, 11:18 AM
Kadi Kadi is offline
 
Join Date: Sep 2006
Location: Hijaz
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I reinstalled and its working fine now. Thanks.

Qs:

I need the thread/thread starter column to be aligned to the right. (Arabic forum). How do I do that?

How do i center the title?

I looked up the words in the phrase manager to translate them but couldn't find them. Thats how I always translate hacks. Am I missing something?

Sorry about the many questions.

Thank you.
Reply With Quote
  #35  
Old 12-03-2006, 12:06 PM
MimeSong Erk MimeSong Erk is offline
 
Join Date: Apr 2006
Location: Japan
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yui333 View Post
Nice modification! Can you let us try it?.. Thanks
Hi Yui. The mod is pretty simple. You will have to interpret this a little: I hard-coded some of the templates since I know my announcement forum is not going to change; this saves a query or two, for what it's worth.
forumhome_la
Code:
</table>
<DIV class="announcementbox">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
	<tr>
		<td class="thead" colspan="3">
			<a href='forumdisplay.php?f=2' class="forumtitle" style="font-size: 130%; font-stretch:wider"><span class="smallfont" style="float:right;margin-top:3px">Click here to see all announcements</span>Latest Announcements!</a>
		</td>
	</tr>
</tbody>
<tbody>
$latest_announce_thread_bit
</tbody>
<tbody>
	<tr>
		<td class="thead" colspan="3">
<a href='faq.php#faq_subscriptions' class="smallfont" style="float:right;margin-top:3px">Subscriptions and Sponsorships</a>
			<a href='http://rw.rmxp.org/index.php?title=rules' class="forumtitle" style="font-size: 130%; font-stretch:wider">Rules and Guidelines</a>
		</td>
	</tr>
</tbody>
</table></div><br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
Links will have to be tweaked to suit.


forumhome_la_threads
Code:
<tr>
<td class="tcat" style="font-size:90%" align="left" width="70%">

<span class="smallfont" style="float:right"><span style="cursor:pointer" onclick="window.open('member.php?u=$latest_announce_thread[postuserid]')">posted by $latest_announce_thread[postusername]</span></span>

<a href="showthread.php?t=$latest_announce_thread[threadid]" style="font-weight: bold; text-decoration: underline;">$latest_announce_thread[title]</a>
</td>
<td class="alt1Active" align="left">
<center class="smallfont">Last post by <a href="member.php?find=lastposter&t=$latest_announce_thread[threadid]">$latest_announce_thread[lastposter]</a></center>
</td>
<td class="alt1Active" align="left">
<center class="smallfont">$latest_announce_thread[replycount] replies</center>
</td>
</tr>
And in Main CSS add this to the Additional CSS Definitions: (for the main skin you see on my forum default)
Code:
/* ***** style of box that contains latest announcements ***** */
.announcementbox{
padding:5px;
margin:0px;
border:solid #90e;
border-width:1px;
background-attachment: fixed;
background-image: url("[whatever the background image of your forum is]");
background-repeat: repeat;
}
You will have to play with this to make it look right on your forum, I imagine, but it should get you started.
Reply With Quote
  #36  
Old 12-03-2006, 03:04 PM
yui333 yui333 is offline
 
Join Date: Dec 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you MimeSong Erk for sharing this with us.

It did not work so well with my style, so I think I have to modify your code to suit my style!

But honestly, your idea is nice.. I hope I will fix it soon.
Reply With Quote
  #37  
Old 12-05-2006, 12:49 AM
Farjad Farjad is offline
 
Join Date: Jan 2006
Location: US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MimeSong Erk View Post
I really like this plug, and have skinned it to be a lot more concise - I'd be willing to share if anyone is interested, it is not complex. You can see at www.rmxp.org

I have a question about how the topics in the FA block are ordered. On my forum as I post this, the 3 latest announcements are:
  • No October backup.
  • Dragon Kid Image Dump
  • RMXP.org's downtime: The whole story
in that order. However, the chronological order of which has the most recent posts is:
  • Dragon Kid Image Dump
  • No October backup.
  • RMXP.org's downtime: The whole story
Why is the FA bit not updating as fast as the forum listing itself?
Actually this is done in the order its posted, meaning the newest one at the top, oldest one at the bottom ( as you can see by the threadid ).
Quote:
Originally Posted by Kadi View Post
Hi,

I reinstalled and its working fine now. Thanks.

Qs:

I need the thread/thread starter column to be aligned to the right. (Arabic forum). How do I do that?

How do i center the title?

I looked up the words in the phrase manager to translate them but couldn't find them. Thats how I always translate hacks. Am I missing something?

Sorry about the many questions.

Thank you.
Can you please edit forumhome_la template, and change the align="center" or whatever it is currently to align="right" and you can translate it there also Sorry I have not use any vbphrases, but I will look forward to use it in the future
Reply With Quote
  #38  
Old 12-06-2006, 02:42 PM
Kadi Kadi is offline
 
Join Date: Sep 2006
Location: Hijaz
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

I got the thread/thread starter title aligned to the right but not the posts in that column. How do I change that?

When I added vbphrases I got an error.

I'm sorry to take up your time but could you show me what to change in the template?
Reply With Quote
  #39  
Old 12-07-2006, 01:42 AM
Farjad Farjad is offline
 
Join Date: Jan 2006
Location: US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kadi View Post
Thanks.

I got the thread/thread starter title aligned to the right but not the posts in that column. How do I change that?

When I added vbphrases I got an error.

I'm sorry to take up your time but could you show me what to change in the template?
Code:
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
	<tr>
		<td class="tcat" colspan="5">
			<a href='forumdisplay.php?f=$vboptions[fa_latest_announce_forum]' class="forumtitle">$vboptions[fa_latest_announce_forumname]</a>
		</td>
	</tr>
</tbody>
<tr align="center">
<td class="thead"></td>
 <td class="thead" align="left"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=asc&amp;sort=title" rel="nofollow">Thread</a>  / <a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=asc&amp;sort=postusername" rel="nofollow">Thread Starter</a> </td> <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=desc&amp;sort=lastpost" rel="nofollow">Last Post</a> <a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=asc&amp;sort=lastpost&amp;pp=20&amp;page=1"><img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="Reverse Sort Order" border="0" /></a></span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=desc&amp;sort=replycount" rel="nofollow">&nbsp;&nbsp;&nbsp;Replies&nbsp;&nbsp;&nbsp;</a> </span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&amp;order=desc&amp;sort=views" rel="nofollow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Views&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> </span></td> 
</tr>
<tbody>
$latest_announce_thread_bit
</tbody>
</table><br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
These are the words you need to change. (In Bold)
Reply With Quote
  #40  
Old 12-07-2006, 11:06 AM
MimeSong Erk MimeSong Erk is offline
 
Join Date: Apr 2006
Location: Japan
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Farjad, I can't believe I didn't see that in the first post.

Working on some updates to mine that will make it clearer when there have been posts in an announcement topic. I may post the changes when I am done or link to them, again if there is interest.
Reply With Quote
  #41  
Old 02-25-2007, 06:31 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the forum icon hack i want to add a image where do i make the changes?

thanks
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 06:39 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.04872 seconds
  • Memory Usage 2,326KB
  • 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
  • (4)bbcode_code
  • (5)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