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)

Superorb 09-07-2012 06:52 PM

This is GREAT for the For Sale forum so OPs can update the first post with items that have sold or updated pricing.

Superorb 09-07-2012 07:44 PM

Ok, I've installed this and set several forums to YES to allow editing of the first post indefinitely in the Forum settings. However, I'm getting the same error as Clubvr4 a few posts up. I set the time limit to edit all posts to 1 minute to test it. As long as it's within the minute I can successfully edit posts. I'm on 4.2PL2.

When I disable the plugin the Edit button disappears, and when enabled the edit button is there correctly, I just keep getting the error when clicked.

Lynne 09-07-2012 09:27 PM

I just tested this on my 4.2PL2 test forum and it worked just fine. Perhaps you have another modification conflicting with it. Try disabling all your other modifications and then see if it works.

Superorb 09-07-2012 09:37 PM

Quote:

Originally Posted by Lynne (Post 2363508)
I just tested this on my 4.2PL2 test forum and it worked just fine. Perhaps you have another modification conflicting with it. Try disabling all your other modifications and then see if it works.

It sure would be nice to have a way to disable all plugins at once, I have quite a few on my test forum.

But, it's still not working. Do I have to set the timeout to 0 somewhere?

Lynne 09-07-2012 09:44 PM

No, you should have the timeout set to whatever you would normally like it to be and then enable this modification in the forums you wish the first post to be editable in. The usergroup must, of course, be able to edit posts also.

Superorb 09-07-2012 09:56 PM

Quote:

Originally Posted by Lynne (Post 2363512)
No, you should have the timeout set to whatever you would normally like it to be and then enable this modification in the forums you wish the first post to be editable in. The usergroup must, of course, be able to edit posts also.

Yup, it's enabled for each forum and the user has permissions to edit their own posts and I've confirmed that too.

Lynne 09-08-2012 01:00 AM

Have you tried with a totally default template and with all other plugins disabled? This really does work just fine on my totally default 4.2PL2 site (no mods and no custom styles).

Superorb 09-08-2012 02:20 AM

Quote:

Originally Posted by Lynne (Post 2363554)
Have you tried with a totally default template and with all other plugins disabled? This really does work just fine on my totally default 4.2PL2 site (no mods and no custom styles).

I just tried it on the default style and I'm getting the same behavior. Is there anything I can do to help debug?

Lynne 09-08-2012 03:17 PM

Quote:

Originally Posted by Superorb (Post 2363567)
I just tried it on the default style and I'm getting the same behavior. Is there anything I can do to help debug?

A totally default style with all other plugins disabled? I honestly don't know what the problem could be. As I said, I tested this on my test site with a default style, all other plugins disabled, and it works just fine.

Superorb 09-08-2012 03:25 PM

Quote:

Originally Posted by Lynne (Post 2363706)
A totally default style with all other plugins disabled? I honestly don't know what the problem could be. As I said, I tested this on my test site with a default style, all other plugins disabled, and it works just fine.

Yup Default style with all other plugins disabled. The same thing appeared to happen to someone else a few posts up too, so I'm not the only one with this problem. I suppose I could install it on my live site since it wasn't causing any problems, it just wasn't working.

Installed on the live site with no other plugins even installed. It's a new site. Custome style though and it appears to be working. I created a thread a few months ago and the timeout is set to 1 day and I was able to edit it. Just weird that it won't work on the test site. I can install this plugin 1st when I bring the live site up to speed with the test site and see which plugin breaks it if you'd like.

Lynne 09-08-2012 05:50 PM

Quote:

Originally Posted by Superorb (Post 2363711)
Yup Default style with all other plugins disabled. The same thing appeared to happen to someone else a few posts up too, so I'm not the only one with this problem. I suppose I could install it on my live site since it wasn't causing any problems, it just wasn't working.

Installed on the live site with no other plugins even installed. It's a new site. Custome style though and it appears to be working. I created a thread a few months ago and the timeout is set to 1 day and I was able to edit it. Just weird that it won't work on the test site. I can install this plugin 1st when I bring the live site up to speed with the test site and see which plugin breaks it if you'd like.

You can't test this with an administrator account since you may edit posts indefinitely anyway. You want to use your test user to edit their own post that they created before the time limit.

Superorb 09-08-2012 06:42 PM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2363751)
You can't test this with an administrator account since you may edit posts indefinitely anyway. You want to use your test user to edit their own post that they created before the time limit.

I wasn't sure so I installed the plugin again on my live site after uninstalling it and used a regular user's account to test and it still worked.

Lynne 09-08-2012 11:47 PM

Quote:

Originally Posted by Superorb (Post 2363773)
I wasn't sure so I installed the plugin again on my live site after uninstalling it and used a regular user's account to test and it still worked.

So it's working now? I guess I didn't read that part.

Superorb 09-09-2012 05:02 PM

Quote:

Originally Posted by Lynne (Post 2363865)
So it's working now? I guess I didn't read that part.

Yes, it works on the live site but not the test site, and both use the same custom style. I'll try to figure out which plugin doesn't play nice with it when I'm finished testing 4.2PL2 on the test site.

Superorb 09-10-2012 09:12 PM

1 Attachment(s)
Quote:

Originally Posted by Superorb (Post 2364064)
Yes, it works on the live site but not the test site, and both use the same custom style. I'll try to figure out which plugin doesn't play nice with it when I'm finished testing 4.2PL2 on the test site.

Well, I updated the live site to 4.2PL2 and installed ONLY this plugin but it's just not working for me. It worked fine when the live site was at 4.1.10, but it's not working on the test site or the live site now, both 4.2 PL2 with either the default or custom style. Before it worked on the default and custom style with 4.1.10 so the only thing I can think of is that something changed between 4.1.0 and 4.2P L2. I did uninstall the Mod before I upgraded.

Lynne 09-10-2012 10:25 PM

Quote:

Originally Posted by Superorb (Post 2364428)
Well, I updated the live site to 4.2PL2 and installed ONLY this plugin but it's just not working for me. It worked fine when the live site was at 4.1.10, but it's not working on the test site or the live site now, both 4.2 PL2 with either the default or custom style. Before it worked on the default and custom style with 4.1.10 so the only thing I can think of is that something changed between 4.1.0 and 4.2P L2. I did uninstall the Mod before I upgraded.

Did you read the first post of this modification where it says this:

Quote:

FOR 4.1.12 - SEE THIS POST - https://vborg.vbsupport.ru/showpost....9&postcount=63

Superorb 09-11-2012 01:00 AM

Quote:

Originally Posted by Lynne (Post 2364448)
Did you read the first post of this modification where it says this:

Does that fix also apply to 4.2? I assume the "future releases" means yes. I'd mentioned the version several times and you never said anything so I didn't look twice.

I'd love to try this out, but I don't even know where to start. I'll admit I'm not super savvy when it comes to things like this. I've never created a plugin. Am I making it harder than it is?

Lynne 09-11-2012 03:08 PM

Quote:

Originally Posted by Superorb (Post 2364491)
Does that fix also apply to 4.2? I assume the "future releases" means yes. I'd mentioned the version several times and you never said anything so I didn't look twice.

I'd love to try this out, but I don't even know where to start. I'll admit I'm not super savvy when it comes to things like this. I've never created a plugin. Am I making it harder than it is?

I assumed you had read the thread and seen the fix that needs to be applied for your version. But, make an assumption, make a mistake, I guess! Creating a plugin is very easy - https://www.vbulletin.com/docs/html/add_plugin

Superorb 09-11-2012 03:53 PM

Quote:

Originally Posted by Lynne (Post 2364642)
I assumed you had read the thread and seen the fix that needs to be applied for your version. But, make an assumption, make a mistake, I guess! Creating a plugin is very easy - https://www.vbulletin.com/docs/html/add_plugin

I added the new plugin as the original plugin for the Product and it looks like everything is working now :) Thanks for walking mee through this.

Now, how would I also allow for thread titles to be edited indefinitely just like the first thread? Would it require a lot of work on your part?

Or, can I just set the thread title to be edited for 60 days and since they can only edit any threads for 24 hours they wouldn't be able to edit the title anyways?

Skyrider 11-09-2012 06:18 PM

Anyway a usergroup feature can be added? Rather than only being specific to forum sections.

Lynne 11-09-2012 09:55 PM

Quote:

Originally Posted by FF|Skyrider (Post 2379758)
Anyway a usergroup feature can be added? Rather than only being specific to forum sections.

I won't be changing this mod in anyway. You are welcome to modify it to your own needs though.

Skyrider 11-10-2012 07:08 AM

Quote:

Originally Posted by Lynne (Post 2379807)
I won't be changing this mod in anyway. You are welcome to modify it to your own needs though.

Hah :p I can't code I'm afraid. So that's not gonna happen. Thanks though.

sticky 11-20-2012 06:12 PM

Quote:

Originally Posted by FF|Skyrider (Post 2379758)
Anyway a usergroup feature can be added? Rather than only being specific to forum sections.

This would be extremely useful.

Sucks when mod creators don't listen to the features people want instead making us spend money to have someone else modify it when they could easily do it.

Also this mod isn't working in 4.2.0 pl3.

Alan_SP 11-21-2012 12:37 PM

Quote:

Originally Posted by sticky (Post 2382990)
Also this mod isn't working in 4.2.0 pl3.

Actually, this isn't true.

It works as intended on vB4.2. I'm using it without problems, i.e. my test user is able to edit first post even after editing time is passed.

DaReSE 02-09-2013 12:00 PM

Will this enable editing subject title and thus change of prefix? Rule per forum, i.e. each forum local value for this?

addamroy 02-25-2013 02:13 AM

This doesn't allow for members to edit their thread titles or prefix... is that a bug or is it supposed to be that way?

Alan_SP 02-25-2013 05:05 PM

This is vB thing.

Only moderators can change thread title whenever they want. You have option in settings where you define time while users are able to change thread title (I'm not sure about thread prefix, but I think that time is the same in both cases).

dai-kun 01-27-2014 06:43 AM

Hi Lynne, do you have time to make this work with 4.2.2? I installed on a clean 4.2.2 and it doesn't work even though I did all the latest edits. Thanks

Edit::
Nevermind, it works correctly as intended. I forgot that I did something different. All my posts does not have a time limit on editing. It's just this one specific forum that users have no permission to edit their posts at all, but I made this hack to work where only the first post is editable, bypassing 'can edit' usergroup permission. Just don't remember what I did.

Edit2::
OK I figured it out.

In plugin
Set edittimelimit to 0 for first post
Set edittimelimit to 0 for first post (2)


Change
Code:

$vbulletin->options['edittimelimit'] = 0;
to
Code:

$vbulletin->bf_ugp_forumpermissions['caneditpost'] = 1;

alexNL 10-15-2014 09:11 AM

Installed it on 4.2.1 patch level 1 and it seems to be working. I did use the updated version posted earlier that contained the fix by Lynne. Direct link to the updated XML:
https://vborg.vbsupport.ru/showpost....4&postcount=65


All times are GMT. The time now is 12:53 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.01392 seconds
  • Memory Usage 1,818KB
  • 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_code_printable
  • (19)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
  • (29)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