Log in

View Full Version : Show Thread Enhancements - Add button New Thread in SHOWTHREAD


nguyenthanhphon
06-25-2010, 10:00 PM
Add button New Thread in SHOWTHREAD
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/06/26/01/12771277534800.JPG

ACP > Styles & Templates > Search in Templates >
Find
<div id="above_postlist" class="above_postlist">
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
Add below
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:10px;"><span>+</span> {vb:rawphrase post_new_thread}</a>

Save Templates

Demo: http://www.diendanvungtau.com/

Daniel_HBK
06-26-2010, 01:04 PM
nice one , installed + 5 Stars

thank you very much :)

Welshy2008
06-26-2010, 04:39 PM
Why is this not supported?

goran424
06-26-2010, 05:24 PM
Surprised this isn't standard feature on vb, thank you nguyenthanhphon!
Installed + 5 Stars

nguyenthanhphon
06-27-2010, 03:45 AM
My name is nguyenthanhphong, but forum limit user name 15 character :(

mitch84
06-27-2010, 04:48 AM
very nice! thx

Dr.osamA
06-27-2010, 05:16 AM
thanx man

good work

ACP > Styles & Templates > Search in Templates >
Find

you missed SHOWTHREAD
that mains we have to find in template SHOWTHREAD the code

but i thing you dont see this THREAD

https://vborg.vbsupport.ru/showthread.php?t=236685&highlight=SHOWTHREAD

installed

nguyenthanhphon
06-27-2010, 06:12 AM
Thanks
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/06/27/02/71551277622707.JPG

giorgino
07-04-2010, 05:15 PM
Don't work, see the pic
vB 4.0.4 without template modification

nguyenthanhphon
07-05-2010, 11:01 AM
I think this is issue of Facebook Connect

giorgino
07-05-2010, 04:45 PM
but FBconnect is now standard in vB :)

vicelover
07-06-2010, 09:01 AM
Hi, nguyenthanhphong

Can you resolve this problem?
https://vborg.vbsupport.ru/showpost.php?p=2006370&postcount=26

Best Regards

funmasti
07-09-2010, 03:14 AM
this temp mod is old.. but its very helpful

giorgino
08-06-2010, 01:52 PM
any news about the facebook issue?

maupassant
11-24-2011, 07:00 PM
Thank you.

Maxii
12-30-2011, 02:44 PM
not working on 4.1.9

K4GAP
12-31-2011, 02:36 AM
demo links with multiple redirects pretty much suck

ToddDuquette
02-04-2012, 05:13 AM
not working on 4.1.9

I got it working on 4.1.9 , but Am not sure on how to change the image to an image I want.

JustAskJulie
04-03-2012, 03:16 PM
Thanks, was looking for this. I agree it should be standard.

Can you tell me how to also install the button on the bottom of the thread? I tried to just do the same finding the second "reply" button code and pasting in the above, but it didn't work (ended up overlaying the two buttons).

AURFSCAN
04-03-2012, 06:48 PM
Julie,

(ended up overlaying the two buttons)

try changing style="margin-left:10px; in the code

change 10px to 140px maybe 150px , whatever looks good :)

Fun-Masti
07-31-2014, 08:39 AM
Thanks