vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - First Post Editable Indefinitely (https://vborg.vbsupport.ru/showthread.php?t=228210)

clauz 04-10-2012 09:33 AM

Hello, it seems that this modification it is not working any more on 4.1.12 version.

ChimeraRS 04-10-2012 06:29 PM

Same here, 4.1.12 broke this mod unfortunately.

Lynne 04-10-2012 11:16 PM

I don't have time right now to do another release, but try this:

Create a new plugin:
hook location - ajax_start
title - Set edittimelimit to 0 for first post (2)
code -
PHP Code:

if (($threadinfo['firstpostid'] == $postinfo['postid']) AND ($vbulletin->userinfo['userid'] == $postinfo['userid']) AND $foruminfo['ls_edit_ind'])  

    {
        
$vbulletin->options['edittimelimit'] = 0;
    } 

And see if that works.

FOR 4.1.12 ONLY (and probably future versions)

clauz 04-11-2012 03:29 AM

Thank you very much, it is working just fine with your new plugin.
The small problem is that I cannot edit the thread name.

Alan_SP 04-21-2012 01:40 PM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2318879)
FOR 4.1.12 ONLY (and probably future versions)

It works for me, so I attached modified version.

RichieBoy67 05-24-2012 09:01 PM

Quote:

Originally Posted by Lynne (Post 2318879)
I don't have time right now to do another release, but try this:

Create a new plugin:
hook location - ajax_start
title - Set edittimelimit to 0 for first post (2)
code -
PHP Code:

if (($threadinfo['firstpostid'] == $postinfo['postid']) AND ($vbulletin->userinfo['userid'] == $postinfo['userid']) AND $foruminfo['ls_edit_ind'])  

    {
        
$vbulletin->options['edittimelimit'] = 0;
    } 

And see if that works.

FOR 4.1.12 ONLY (and probably future versions)

Has this been added to any of the downloads?

Does anyone have this mod working with 4.1?

Alan_SP 05-25-2012 08:02 PM

Yes, a post before your's is file attached by me. :)

DSemen 06-03-2012 12:56 PM

Quote:

Originally Posted by Lynne (Post 1918432)
I modified this to now be set per forum in the Forum Manager. By default, it is set to No and you must set it to Yes for the forum to have the first post editable indefinitely.

Please show on the screen where it include?
I'm not working (in 4.1.3), you may need to edit the template? Tell me where?

Lynne 06-03-2012 01:53 PM

Quote:

Originally Posted by DSemen (Post 2336126)
Please show on the screen where it include?
I'm not working (in 4.1.3), you may need to edit the template? Tell me where?

It should be the last item there (unless you have other modifications):

Make first post in thread editable indefinitely - Yes or No

DSemen 06-03-2012 02:47 PM

Quote:

Originally Posted by Lynne (Post 2336143)
It should be the last item there (unless you have other modifications):

Make first post in thread editable indefinitely - Yes or No

Unfortunately there is no such, please show a picture where it is. And you should see the user created the topic (first post)
Sorry, Google translation

A beautiful and correct fashion, I was looking for a similar and now in complete disarray of the inability to use it.


All times are GMT. The time now is 08:57 AM.

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.01045 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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