vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Thread Description (https://vborg.vbsupport.ru/showthread.php?t=131239)

Mrdby 12-09-2007 10:47 AM

3.6.8?

Das UndergrounD 02-16-2008 03:24 AM

Hello, the installed hack had, and when you edited the messages in advanced mode you threw away an error, the same mentioned above, next install the modified product and now the description of the themes does not appear to me, I have gone back to install the hack time after time and the description does not appear to me.:(:erm:

TCE Killa 02-16-2008 04:45 PM

Nothing shows up for me, I am using 3.6.8 PL 2.

Das UndergrounD 02-16-2008 05:37 PM

Quote:

Originally Posted by TCE Killa (Post 1444549)
Nothing shows up for me, I am using 3.6.8 PL 2.


I'm using a 3.6.8 pl2 too

Leica.Robbiani 02-19-2008 03:39 PM

Hi there,

I've changed 2 Plugin's to get this Mod work, Thread Description - Edit Post and the Thread Description - Update Description.

The original code of the first one is

PHP Code:

<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[if ($postinfo['postid'] == $threadinfo['firstpostid'])
            {
            
$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];
            }]]></
phpcode>
        </
plugin

my code is

PHP Code:

<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];]]></phpcode>
        </
plugin

In the second Plugin I've just changed in the if-question the AND in an OR.

With this little changes it works correctly for me on 3.6.8PL2.

Leica Robbiani

rapidphim 02-23-2008 06:03 AM

Quote:

Originally Posted by yoyoyoyo (Post 1373570)
Here is the XML file in TMS (Template Modification System) format, for those that have TMS installed.

I am also including the product, which is updated to avoid the error indicated in this thread, using the edits mentioned in this thread. (Note- I also changed the name of the product from vBViet to Thread Description)

Yoyoyoyo, I don't have the TMS hack, do I still need to do the template hack or I just upload the product xml only?

PaulSonny 02-23-2008 07:33 AM

Installed and working on 3.7.

Thanks, Paul.

rapidphim 02-23-2008 08:03 AM

Paul, did you use the original file/instruction from TrucLinh or you used the two files from Yoyoyoyo?

PaulSonny 02-23-2008 09:46 AM

Hello Rapidphim,

I used readme36x.zip in the original thread and followed all the instructions. I have edited my templates a little because I didn't like the image.

Thanks, Paul.

JohnBee 03-22-2008 03:02 AM

Quote:

Originally Posted by Leica.Robbiani (Post 1446706)
Hi there,

I've changed 2 Plugin's to get this Mod work, Thread Description - Edit Post and the Thread Description - Update Description.

The original code of the first one is

PHP Code:

<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[if ($postinfo['postid'] == $threadinfo['firstpostid'])
            {
            
$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];
            }]]></
phpcode>
        </
plugin

my code is

PHP Code:

<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];]]></phpcode>
        </
plugin

In the second Plugin I've just changed in the if-question the AND in an OR.

With this little changes it works correctly for me on 3.6.8PL2.

Leica Robbiani

Tried that... no show.
Any other tips?

Tharos 04-15-2008 01:50 PM

very nice hack =)
thank you friend

.....................................
It did not work on my vbulletin, wich is a 3.6.9 version
I tried installing it over and over but nothing happened =/

Jezlad 04-24-2008 11:47 PM

Awwww, I wanted this - looks like more trouble than it's worth though.

nesta2006 05-03-2008 09:39 PM

don't view in 3.7

Tharos 05-05-2008 05:08 PM

Quote:

Originally Posted by nesta2006 (Post 1507357)
don't view in 3.7


In 3.6.9 doesn?t show nothing

Nook_Neformat 05-25-2008 12:39 PM

works great at my 3.7.0
anyway, please, help me: i want to see thread description in this page
http://www.site/forum/tags.php?tag=any+tag
hope you'll understand and help

fly 06-07-2008 05:52 PM

1 Attachment(s)
If anyone is interested, here is the TMS XML for this hack... Created on 3.7.1.

demgel 06-13-2008 01:33 AM

Works fine in vBulletin 3.7.1 ;)

RvG2 06-30-2008 02:42 AM

Quote:

Originally Posted by demgel (Post 1548099)
Works fine in vBulletin 3.7.1 ;)

U r right...

fly 06-30-2008 12:57 PM

Any way to make this thing remember the description if Thread Preview is clicked?

PoetJA-1975 07-12-2008 04:20 PM

Re-added on 3.7.2 PL1 forum - works just fine: http://jpicforum.info/general-chat/
Thanx again for sharing.

Jacquii.

liwo 08-08-2008 06:26 PM

1 Attachment(s)
Quote:

Originally Posted by flypaper (Post 1562989)
Any way to make this thing remember the description if Thread Preview is clicked?

I actually have fixed that bug for my forum. I needed to change the template edit for editpost. The new html is

HTML Code:

                <!-- description field -->
                <if condition="$foruminfo['allowdesc'] == 1">
                <if condition="$isfirstpost">
                <if condition="$vbulletin->GPC['advanced'] OR $vbulletin->GPC['desc_adv']">
                        <input type="hidden" name="desc_adv" value="1" />
                </if>
                <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
                <tr>
                <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
                </tr>
                <tr>
                <td><input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1.5" title="$vbphrase[optional]" /></td>
                </tr>
                </table>
                </if></if>
                <!-- / description field -->

Furthermore I modified the product file, see attachment.

fly 08-09-2008 02:22 AM

Quote:

Originally Posted by liwo (Post 1594219)
I actually have fixed that bug for my forum. I needed to change the template edit for editpost. The new html is

HTML Code:

                <!-- description field -->
                <if condition="$foruminfo['allowdesc'] == 1">
                <if condition="$isfirstpost">
                <if condition="$vbulletin->GPC['advanced'] OR $vbulletin->GPC['desc_adv']">
                        <input type="hidden" name="desc_adv" value="1" />
                </if>
                <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
                <tr>
                <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
                </tr>
                <tr>
                <td><input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1.5" title="$vbphrase[optional]" /></td>
                </tr>
                </table>
                </if></if>
                <!-- / description field -->

Furthermore I modified the product file, see attachment.

So adding in both of these fixes teh thread preview problem?

liwo 08-09-2008 07:24 AM

Quote:

Originally Posted by flypaper (Post 1594485)
So adding in both of these fixes teh thread preview problem?

It did in my 3.7.2-PL1 testforum. I do not yet use that description mod in my main forums as I am not yet ready to upgrade that, so it is not tested there.

But I'm quite positive that these two fixes actually do fix that bug without producing new bugs ;)

Nook_Neformat 08-10-2008 10:19 AM

Quote:

Originally Posted by liwo (Post 1594219)
I actually have fixed that bug for my forum. I needed to change the template edit for editpost. The new html is

HTML Code:

                <!-- description field -->
                <if condition="$foruminfo['allowdesc'] == 1">
                <if condition="$isfirstpost">
                <if condition="$vbulletin->GPC['advanced'] OR $vbulletin->GPC['desc_adv']">
                        <input type="hidden" name="desc_adv" value="1" />
                </if>
                <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
                <tr>
                <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
                </tr>
                <tr>
                <td><input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1.5" title="$vbphrase[optional]" /></td>
                </tr>
                </table>
                </if></if>
                <!-- / description field -->

Furthermore I modified the product file, see attachment.

so i must edit template and reupload the product file or you just include template's changes in product file?

liwo 08-10-2008 10:22 AM

You have to edit the template yourself.

Leo Brazil 08-11-2008 11:02 AM

I've been usind this mod for a long time, since 3.6.7 without any problems but since I upgraded for 3.7 Gold I notice any time someone tries to edit their first post and only if this post has a Thread Description I get a MySQL error like "Table doens't exist for the thread ID".

Despite of this error the changes are made correctly.

Does someone here notice the same ?

Nook_Neformat 08-13-2008 08:40 AM

Quote:

Originally Posted by liwo (Post 1594219)
I actually have fixed that bug for my forum. I needed to change the template edit for editpost. The new html is

HTML Code:

                <!-- description field -->
                <if condition="$foruminfo['allowdesc'] == 1">
                <if condition="$isfirstpost">
                <if condition="$vbulletin->GPC['advanced'] OR $vbulletin->GPC['desc_adv']">
                        <input type="hidden" name="desc_adv" value="1" />
                </if>
                <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
                <tr>
                <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
                </tr>
                <tr>
                <td><input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1.5" title="$vbphrase[optional]" /></td>
                </tr>
                </table>
                </if></if>
                <!-- / description field -->

Furthermore I modified the product file, see attachment.

unfortunatly, it didn't help me, and when i'm creating a new thread, description stil dissapeares after thread preview :(

liwo 08-13-2008 08:56 PM

Did you also import the attached product file?

Nook_Neformat 08-15-2008 11:04 AM

yeah, i did. i were thinking, when we create new thread, we use template "newthread". so maybe change in this template must be edited to save thread's description after new thread preview?

liwo 08-15-2008 05:12 PM

Could well be. I don't think I tested on thread creation. I test this as soon as I find time for it and get back to you.

Update: ok, I found it. It's just a bug in the template. Exchange the following line in the edit

HTML Code:

<input type="text" class="bginput" name="description" value="$description" size="40" maxlength="100" tabindex="1.5" />
with this one

HTML Code:

<input type="text" class="bginput" name="description" value="$newpost[description]" size="40" maxlength="100" tabindex="1.5" />
That should fix the problem.

Thanks for telling me.

JesterP 08-18-2008 02:18 AM

Hello all,

I'm about to set my hair on fire. I've installed this previously on my other VB forum and it works wonderfully.

I just put it on my 2nd forum and I cannot find the option to enable it in the admincp.

Forums and moderators, manage forums, I choose a forum to edit, no option.....in the old forum or new. Old v3.70 new 3.72. I have no idea how it was enabled in the old.

I baffled.

Please help, Thanks!!

J

PoetJA-1975 08-18-2008 06:43 AM

Um - please no setting of fires :P
You should see options in your AdminCP - You're right - you have to edit to allow on a per-forum basis:
AdminCP --> Forum Manager --> ((choose your forum)) --> Find Thread Description Options --> Option: Allow Thread Description in this Forum = Yes.

HTH,

Jacquii.

JesterP 08-18-2008 08:55 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1601221)
Um - please no setting of fires :P
You should see options in your AdminCP - You're right - you have to edit to allow on a per-forum basis:
AdminCP --> Forum Manager --> ((choose your forum)) --> Find Thread Description Options --> Option: Allow Thread Description in this Forum = Yes.

HTH,

Jacquii.

Ok, I just poured gas all over me and I have a match. lol. It's just not there. When I do as you mention, these are the sections I see:

Forum
Moderation Options
Style Options
Access Options
Posting Options
Enable/Disable Features


And that's it, on both forums. I think when I installed it before I had no options to set, it just worked. That is not the case this time. I'm thinking about diving into MySQL and turning it on manually.

I've removed the mod, and put it back several times. Made all the edits......

Thanks for the reply!!

J

PoetJA-1975 08-19-2008 02:03 AM

Hmmmm - I'm not sure why the option wouldn't show.
Are you set as SuperAdmin? What AdminCP permissions are you allowed? That could be at issue perhaps.... ALSO check in Plugins & Products and ensure that the product is enabled. Other than that - I'm not sure exactly what to suggest.

Jacquii.

JesterP 08-19-2008 02:17 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1601989)
Hmmmm - I'm not sure why the option wouldn't show.
Are you set as SuperAdmin? What AdminCP permissions are you allowed? That could be at issue perhaps.... ALSO check in Plugins & Products and ensure that the product is enabled. Other than that - I'm not sure exactly what to suggest.

Jacquii.

I am SuperAdmin and it's enabled. I would like to kow what the html code is for the admin CP, I'll add it manually and set the option. If I don't hear from the author, I guess I'll just remove it.

Niiice signature BTW. Very classy.

J

JesterP 08-23-2008 02:28 PM

Quote:

Originally Posted by JesterP (Post 1601997)
I am SuperAdmin and it's enabled. I would like to kow what the html code is for the admin CP, I'll add it manually and set the option. If I don't hear from the author, I guess I'll just remove it.

Niiice signature BTW. Very classy.

J

ahh ha! Found ou twhy it worked on my older forum and not the new. Different hack version. I removed this one and put THIS one in and bingo. works like a charm....no admin options, same author.

Woohoo!

Thanks all
J

PoetJA-1975 08-23-2008 06:29 PM

YAY! Congrats on getting it to work then ;) It's a nice one!

Jacquii.

Crashh 08-01-2010 02:28 PM

Hi!
Does it work with vB4?

Is it possible to make new version of hack for vB4?

Thanks!

dang3rzon3 09-08-2011 06:26 AM

it is possible to make a version for vb cms?


All times are GMT. The time now is 07:43 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.01465 seconds
  • Memory Usage 1,881KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html_printable
  • (4)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete