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

Reply
 
Thread Tools
Edit New Thread Button Details »»
Edit New Thread Button
Version: 1.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.5.2 Rating:
Released: 12-13-2005 Last Update: 12-16-2005 Installs: 120
DB Changes Uses Plugins Template Edits
 
No support by the author.

Edit New Thread Button 1.1


About this hack:
This hack allows you to change where the "New Thread" button directs your users for each forum. This hack gets customized from the forum options and different for each forum.

This is an ideal hack if you want your users to make a new thread using a form or something else besides the regular vb new thread page.

This hack has been created do to requests by users of my hack call Forms Hack.

Installation information on hack:
  • Files edited: 0
  • Templates edited: 1
  • Files to upload: 0
  • Time to install: 1 minute
Updates:

Version 1.0 (12/13/05):
  • Initial Release of this hack
Version 1.1 (12/17/05):
  • Added one more template edit thanks to WNxWakko
Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Download Now

File Type: zip edit_new_thread_button_1_1.zip (1.7 KB, 631 views)

Screenshots

File Type: jpg image1.JPG (13.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 01-11-2009, 05:41 PM
Chrakker Chrakker is offline
 
Join Date: Jan 2009
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in 3.7.5 from Scratch!
Thanks very much for this useful hack

100% appreciated

*installed
Reply With Quote
  #63  
Old 01-18-2009, 10:03 PM
KevinLee KevinLee is offline
 
Join Date: Jan 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this hack and set it up with "newreply.php?do=form" but when I hit the new thread button it says "Sorry! This forum is not accepting new posts." Any ideas?
Reply With Quote
  #64  
Old 01-20-2009, 03:26 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinLee View Post
I've installed this hack and set it up with "newreply.php?do=form" but when I hit the new thread button it says "Sorry! This forum is not accepting new posts." Any ideas?
newreply.php?do=form is the right link?
Reply With Quote
  #65  
Old 01-20-2009, 06:36 PM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again, back to form, and so, back to this plugin, always worked like a charm.

Installed, but it doesnt show in the Vbulletin Options list.

Im on 3.7.3

Am i looking in the wrong place or forgetting something, its in the plugin list.
Reply With Quote
  #66  
Old 02-14-2009, 04:48 AM
ZeepySea ZeepySea is offline
 
Join Date: Aug 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: I clicked wrong one, it is not this one causing errors, but another mod. This one works like a charm

I am now getting this error

Code:
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error
We updated to 3.6.10 (yes we are slow, have so many mods we have to test before we do next update). Now we can't get any new post with this, this is our way to get new clan members. They are unable to post now any suggestions anyone?
Reply With Quote
  #67  
Old 07-21-2009, 03:58 PM
bojomojo bojomojo is offline
 
Join Date: May 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this by any chanve work on 3.8?
Reply With Quote
  #68  
Old 12-23-2009, 09:02 PM
JamesGunner JamesGunner is offline
 
Join Date: Sep 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any plans for vb 4?
Reply With Quote
  #69  
Old 03-05-2010, 08:38 AM
Dubi's Avatar
Dubi Dubi is offline
 
Join Date: Dec 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For Vb 4.0.2:

Install the product. Do the follow 3 template edits in FORUMDISPLAY template:

1) Find the code for "Create New Thread" top button:
PHP Code:
<vb:if condition="$show['newthreadlink']"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if> 
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
<
vb:else />
<
a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</
vb:if> 
2) Find the code for "Create New Thread" on Forum Tools menu:
PHP Code:
<vb:if condition="$show['newthreadlink']">
    <
li>
        <
a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
            {
vb:rawphrase post_a_new_thread}&hellip;
        </
a>
    </
li>
</
vb:if> 
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink']">
    <
li>
        <
vb:if condition="$foruminfo['edit_new_thread_button']">
        <
a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow"> {vb:rawphrase post_a_new_thread}&hellip;
        </
a>
        <
vb:else />
        <
a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
            {
vb:rawphrase post_a_new_thread}&hellip;
        </
a>
        </
vb:if>
    </
li>
</
vb:if> 
3) Find the code for "Create New Thread" bottom button:
PHP Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']">
    <
a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</
vb:if> 
Replace with:
PHP Code:
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
<
vb:else />
<
a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</
vb:if> 
Hope that helps all "4.x people" to keep this mod working.
Reply With Quote
  #70  
Old 06-23-2010, 04:12 AM
StagKill StagKill is offline
 
Join Date: May 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if we could do something like, when one clicks post reply in a particular thread it should redirect to a form. Is it possible to implement that in post reply instead of new thread?
Reply With Quote
  #71  
Old 11-27-2010, 09:27 PM
Digma Digma is offline
 
Join Date: Nov 2004
Location: Netherlands
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent. Just what I was looking for in combination with Easy Forums. Thanks for this!

Works like a charm on 3.7.3
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 11:39 PM.


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.05299 seconds
  • Memory Usage 2,363KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (2)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_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