![]() |
Yes, it is another hack (although I'm not sure which one :)). Any help would be greatly appreciated.
Quote:
|
Quote:
|
Oh... can someone add a little action for this hack.
When i click in Admin Options -> Edit thread, i can edit Reason for closing thread 10x a lot... sorry for my english ;) |
Quote:
|
I think he's asking for an option in the amin cp. :)
Quote:
|
>I'm not 100% sure what you are asking. Are you asking to have a place to edit the reason for closing? If you want to edit it, you coudl simply just open the thread, and then close it again
Yes, u right, but it`s not good idea that mods open and then close thread again with new reason. Maybe u try to do this >I think he's asking for an option in the amin cp. Nope. Not in admin cp. Mods dosen`t have permission to login into admin CP. |
A Suggestion:
You say this in the instructions: PHP Code:
And here is a little addon wich also displays the user that closed that thread: Execute this query: PHP Code:
PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
|
@Lesane: Thank you, so i don't have to write it ;)
but i would change it to that: [sql]ALTER TABLE thread ADD `whoclosed` VARCHAR(255) NOT NULL;[/sql] PHP Code:
@Sinecure: you can update the install file *gg* It grows faster and faster as i thought of ;) Quote:
PHP Code:
|
Quote:
optional add to the hack: edit template threads_editthread after Code:
<tr> Code:
<tr> find this line in editthread section: PHP Code:
PHP Code:
|
2Xenon:
Ohh... greate thanks... i go to test this addon.... |
Wow.... it`s work
Greate thanks Xenon |
Xenon,
Thanks for the fix. Works great! So does the editing addon. :) Lesane, Thanks for the Closed By: addon. I made a slight modification, but it works great! Reason for Thread being Closed by (Boofo): testing the thread closed reason box Excellent work guys! You, too, Sinecure! |
np :)
ahh, very good, i like it when my code works ;) |
Can someone help me... I look into my cod, and see that i have install other hack that can`t work with this hack :(
It is Remove the Reply link when the thread is closed (by nakkid). PHP Code:
PHP Code:
What I should make that both worked hacks PS. now i have this part of cod in showthread.php PHP Code:
|
Can someone help me... I look into my cod, and see that i have install other hack that can`t work with this hack :(
It is Remove the Reply link when the thread is closed (by nakkid). PHP Code:
PHP Code:
What I should make that both worked hacks PS. now i have this part of cod in showthread.php PHP Code:
|
double post ;)
read the thread again, i have told boofo what to do, he has installed the same |
I noticed in the new templates you need to create that colors are specified, what would need to be changed so that it followed the site colors?
|
thanks for the hack :)
|
Did someone just delete a cross-posted message in here concerning vbmicrostats or am I seeing things? :)
|
the colors are hardcodet, could u change this ?
thx, Schorsch |
Quote:
|
Thank you. I was afraid I was going to have to start taking the medication again. :)
Quote:
|
have uploaded a new version in my first post (4th post in thread)
file is now zipped, so the replacements should be correct :) |
It still shows the following and the date of the text file is 07-06-2002. And I DID clean my cache first. :) (I am using the diable tags so you will see what it actually is). BTW: What did you change that we need to re-do?
[disable]---------------------------------------------- Step 2: Edit Showthread.php (1 Modification) ---------------------------------------------- Find: if ($thread[open]) { $replyclose="https://vborg.vbsupport.ru/images/reply.gif"; } else { $replyclose="https://vborg.vbsupport.ru/images/threadclosed.gif"; } Replace with: if ($thread[open]) { $replyclose="https://vborg.vbsupport.ru/images/reply.gif"; $thread[closereason]=""; } else { $replyclose="https://vborg.vbsupport.ru/images/threadclosed.gif"; $thread[closereason]=bbcodeparse2($thread[closereason],0,1,1,1); eval("\$thread[closereason] = \"".gettemplate("showthread_closereason")."\";" ); }[/disable] Quote:
|
lool, yes you're right
i have just corrected the templatesection, not the php-code section ;) thanx for pointing out, now it should be ok ;) |
But what did you change that we need to re-do? Is there a simple upgrade we can make instead of doing it all again? :)
Quote:
|
nothing really changed, it's just because some of the replacementvars became parsed in the old code, so i have uploaded the correct installfile in the zip.
there were no codechanges or something like that, so if you have corrected the colors yourself, you don't need to upgrade anything ;) i have just done so, because schorsch and smothie said so ;) habedere schorsch, kimst aus bayern? ;) |
i was wondering if there was any way to have pre set messages?
also can you use date time and user names in this? |
can somebody help me ???
on my board it looks completley different than in the screenshot of the first post. how can I change that so it looks like in the screenshot of sinecure ???? thanks, Schorsch @Xenon: ja bin aus Bayern (naehe Nuernberg), zur zeit wohne ich aber in USA (New Jersey) :bunny: |
Schorsch... can you help me with my above post?
|
how i would make
PHP Code:
thanks for your time |
@schorsch: hmm, seems i have made a small version incompatibility:
find PHP Code:
PHP Code:
oh, ein bayer in amiland :) i bin aus der n?he vo regensburg @tap: in your enterreason template you find this line: <textarea name="reason" rows="6" cols="45" wrap="virtual" tabindex="2">$threadinfo[closereason]</textarea> replace the $threadinfo[closereason] with whatever you want as a standart reason... yes you can also do the other parst, but you have to add extra fields to your thread-table called whoclosed (or something like that) and for example when closed |
Exactly how would we go about doing this, kind sir? :)
Quote:
|
hmm, very much to explain ;)
i think i'll include into next version ok? |
Sounds good. When will that be? :)
|
*gg*
i don't exactly know, have to talk to sinecure before, and i have a lot of work here this days, but i think till next week is possible :) |
Great! I wasn't trying to pressure you, I was just curious. :)
BTW: What does *gg* mean? |
Quote:
thanks, Schorsch |
it was in the old installation file i posted
if you download the newest one and do every step correct it'll also work ;) boofo: *gg* = nice doublegrin ^^ |
I made the changes after your new file ( THIS one )!
what else could be the error ?? thanks, Schorsch |
All times are GMT. The time now is 04:17 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:
|