![]() |
Quote:
|
his = her :) I'm female.
And yes... a part of me feels odd that 9999999... is in the system. |
works.
I had trouble finding the first part due to spaces being added or missing mine was as follows PHP Code:
|
Quote:
It works...and is per Usergroup. |
Quote:
However, I merged the two using the ($forumperms & CANEDITUNLIMITED) part of code in place of the time limit being 0 and they're running great.. :D |
I assume that this setting reflects only people whose time limit for editing a thread is allowed. Meaning if their editing time limit ran out, they won't be able to still edit the thread.
|
The code above does not work with the version of Vb installed on my site (newest version as of today's date.)
Here is the code that worked for me, as an exact copy/paste with all spacings: This line Code:
if ($threadinfo['firstpostid'] == $postinfo['postid'] AND $edit['title'] != '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW) Changed to Code:
if ($threadinfo['firstpostid'] == $postinfo['postid'] AND $edit['title'] != '' AND ($vbulletin->options['editthreadtitlelimit'] == 0 OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)) This line Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW) Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($vbulletin->options['editthreadtitlelimit'] == 0 OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)) |
All times are GMT. The time now is 02:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|