Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Additional front page options - post new thread + subscribe to this forum links Details »»
Additional front page options - post new thread + subscribe to this forum links
Version: , by AndyTSJ AndyTSJ is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-03-2002 Last Update: Never Installs: 0
 
No support by the author.

Additional front page options 2.2.x - v1
Let me make this clear - I saw this hack on a set of forums, thought it looked nice, and created it myself for my boards. The idea is the property of that site since I didn't think of the idea myself. However, I made the changes to the code myself. I am not sure if this has been documented before as a hack on this site - if it has then feel free to ignore or delete this file.

(c) 2002 Andy P
################################################## ###################################
VERSION 2.x INSTALLALLATION (probably works for earlier versions too)
################################################## ###################################

AS WITH ANY HACK, BACKUP YOUR FILES BEFORE MAKING ANY CHANGES

################################################## ###################################

### HACK OVERVIEW

This 'hack' adds "Post a new thread in this topic" and "Subscribe to this forum" icon links to the forum homepage.



### INSTALLATION OVERVIEW

-upload two graphics files to your images folder
-edit one template 'forumhome_forumbit_level2_post'



### DETAILED INSTRUCTIONS

###
1 // Upload newthread2.gif and subscribe2.gif into your images folder


###
2 // Inside the 'forumhome_forumbit_level2_post' template

Find :

PHP Code:
<td bgcolor="#13486D" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
    <
br><smallfont>$forum[description]</smallfont
Add underneath that :

PHP Code:
<a href="newthread.php?s=&forumid=$forum[forumid]"><img src="images/newthread2.gif" border="0" alt="Create a new topic in $forum[title]"></a> <a href="member2.php?s=&action=addsubscription&forumid=$forum[forumid]"><img src="images/subscribe2.gif" border="0" alt="Subscribe to the $forum[title] forum"></a
### FINISHED !

Download Now

File Type: (21.3 KB, 273 views)

Show Your Support

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

Comments
  #22  
Old 05-03-2002, 10:12 PM
pHAZE_1 pHAZE_1 is offline
 
Join Date: Mar 2002
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice modification. could you tell me how to put the icons directly accross from the forum name.. right now it is after the forum description.. thx
Reply With Quote
  #23  
Old 05-08-2002, 06:55 AM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the reason there is no "install this hack" link at the end of the thread page?
Reply With Quote
  #24  
Old 05-08-2002, 07:23 PM
Mr. X's Avatar
Mr. X Mr. X is offline
 
Join Date: Oct 2001
Location: Iowa
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because its not a hack I guess.
Reply With Quote
  #25  
Old 06-03-2002, 02:28 AM
Carthriller Carthriller is offline
 
Join Date: May 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI,

I see that you posted a frontpage hack and I have a question. I was wondering if you know what the query string is for the one that displays "only view new posts"...I tried

<a href="search.php?action=getlatest&forumid=$forum[forumid]"><img alt="Read New Post in $post[title]" border="0" src="images/findnew.gif" width="11" height="11"></a>

but that didn't work. Any suggestions?
Reply With Quote
  #26  
Old 06-05-2002, 02:06 AM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did this some time ago and Carthriller, I think you need a search.php addition. I will mail it to you tomorrow as my notes on this are in my office. On another note, when I did this originally my icons are all over the place. Most align right, but some just seem to have a mind of their own. Any ideas off hand?
Reply With Quote
  #27  
Old 06-05-2002, 03:10 AM
Carthriller Carthriller is offline
 
Join Date: May 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply. Can you mail it to me. Also I didn't put the icons up, so I won't know how to align, sorry.
Reply With Quote
  #28  
Old 06-05-2002, 03:58 AM
Carthriller Carthriller is offline
 
Join Date: May 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply. Can you mail it to me. Also I didn't put the icons up, so I won't know how to align, sorry.



Quote:
Originally posted by xeon
I did this some time ago and Carthriller, I think you need a search.php addition. I will mail it to you tomorrow as my notes on this are in my office. On another note, when I did this originally my icons are all over the place. Most align right, but some just seem to have a mind of their own. Any ideas off hand?
Reply With Quote
  #29  
Old 06-09-2002, 08:53 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?postid=258970#post258970" target="_blank">https://vborg.vbsupport.ru/showt...970#post258970</a>
Reply With Quote
  #30  
Old 06-09-2002, 10:05 PM
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Location: Buffalo, New York
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would I get it in the top right hand corner?
Reply With Quote
  #31  
Old 06-15-2002, 09:12 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xelation,

Wayne Luke posted this a while back at vBulletin.com, see the below URL (edit forumhome_forumbit_level2_post instead of forumhome_forumbit_level1_post):

http://www.vbulletin.com/forum/showt...0&pagenumber=2

- SaintDog
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 09:52 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.04440 seconds
  • Memory Usage 2,333KB
  • Queries Executed 28 (?)
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_php
  • (1)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
  • (1)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete