![]() |
it's not allowed to send full vb-files don't forget that ;)
as you said every post would be only admin-editable, you must recheck all the queries if they are exactly what i said... and default value at post.editable must be 1 recheck that also with phpmyadmin |
Did you back it up before making that change?
Satan |
Hi Xenon Install has been clicked - thanX for a brilliant hack.
I just wish I new about this one when I copied and pasted all indivdual posts from Postnuke Xforum over to VB which took two days - it looked a little suspiciously like I had made posts and members up due to the irregularity of time and date - now I can go and put the date and times into each post again! Jeez - another 2 days :D Well Done! |
Thanks again, Xenon for clearing this up for me. This hack rocks! :)
|
i have a question here......
will this hack allow (and if it won't, could you tell me how to make it) an author to edit a post beyond the boardwide edit time limit if you set the author edit option? We use the time limit to keep users from causing chaos (we had several who would incite flamewars, then go back and edit what they said so it made others look like the instigators), but occasionally, we run into issues where we need edits made, and it would be MUCH easier if the mods could let the authors do it, rather than having them email the edits to the staff and the staff doing it. Please help me out on this.......If it takes a lot of work, I will be happy to pay you for it...PPN can verify i am good for the money :) |
For now this function isn't included, but it should be easy to include it.
perhaps i can post a solution later this day, but now i haven't time to do it ;) no money needed ;) |
You will DEFINITELY hit my list of PHP heros if you work this out Xenon :)
Btw.....i have a number of your hacks installed on my site, and have gained a lot from following your work :) (ok...so yeah, i am kissing butt here....but it never hurts right??) *grinz* Seriously though....i do enjoy your hacks.....keep up the outstanding work :) |
Thanks for the nice words ;)
ok, here you are: open hacked editpost.php find this: PHP Code:
PHP Code:
then find this: PHP Code:
PHP Code:
then in template admineditpost: find <input type="radio" name="editable" $editable[1] value="1">Author | before it add: <input type="radio" name="editable" $editable[4] value="4">Author (no timelimit)| i think this should be all |
hmmm.....i appreciate it bunches Xenon....just one problem :(
i am getting this error when i click the edit post link: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/editpost.php(208) : eval()'d code on line 11 could this be getting hosed by another hack??? or am i more clueless than i thought ??? Sorry...forgot to add....my line 208 is this: eval("\$admineditpost = \"".gettemplate("admineditpost")."\";"); |
yes tested it myself and also get this error, seems there are no -1 allowed, i'll edit my post above and change it so it'll work :)
|
All times are GMT. The time now is 09:56 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:
|