![]() |
[v1.2] Edit / Report Button Hack
Edit / Report Button Hack - based on your permissions
What does this hack do? Basically it allows you to insert a variable into your postbit template and if you posted the thread then it shows up with the edit link/button. If you didn't post it it shows the report link. This is just like the hack installed here at vbulletin.org Latest Version: 1.3 Thanks to: - Hellsatan (for helping with a parse error) - PPN for beta testing v1.2 - Dan_UPC for fixing two bugs +++++++++++++++++ Extra Notes +++++++++++++++++ If you would like the report button in the default vbulletin style then here is the link: https://vborg.vbsupport.ru/attachmen...&postid=325196 ________________________________________________ If you install this hack then please click the INSTALL button. Regards - miSt |
Ah, great work miSt!:) Except wheres the download file?
|
Nice:)
Satan |
Yeah, there is is:) Thanks miST, will use this
|
Thanks assasingod :)
I didn't add the attachment in right away because i wanted to include the install link in the file :) Regards - miSt |
Note: Minor bug fix.... Re-apply the changes to showthread.php
Regards - miSt |
Looks good. I had no troubles at all with it:)
Ps. Check your PM inbox miSt;) |
Mist you stole my friends avatar!!
Simple, but nice hack:) Thats one for your profile ;) Keep it coming -Arunan |
Hey Nice hack Thanks!
|
I was gonna install this, but just saw i had put the code in the phpinclude template cuz I am lazy, maybe when I have time I will move it to showthread.php :p
Good Job Though -Arunan |
Thanks for the feedback..
A new version is on the way.. Regards - miSt |
Quote:
Check you PMs miSt :sleep: |
I did and thats why there will be a new version on the way.
In the new version you'll have to put the code into showthread.php.... - miSt |
Ah, I get it. Cool:D
Got my PM?:ninja: |
Yes I got your PM..
A new version will be released soon! - miSt |
Cool - Cant wait
(Check you PM box again;)) |
This has already been done before because I've had it installed for quite sometime now. However, it was never formally published.
Here's the thread, from the Requests forum: https://vborg.vbsupport.ru/showthrea...threadid=32414 |
Yeah, but look at the date is was posted:
11-15-01 12:24 PM Nearly a year ago - People arent going to see threads that old. Besides, miSt's hack is differently coded to fireflies:P |
Indeed...
The next release candidate will be coded differently too.. Hopefully i'll sort it out before Monday night :) - miSt |
:DCant wait - Love this hack!
Great work again miSt Edit: I suppose this could be used for other things as well? |
DOnt get it
i did put the $post[editreport] in the postbit template but whats the point if there is already a edit button in the thread? |
What it does is show the Edit Button if you posted it, and shows the report button if you dont.
|
Update: I'm having huge problems with my testboard so anyone with a testboard that can help me would be highly appreciated :)
PM me I'm normally on between 7.30-8.30pm GMT Regards - miSt |
nice
it checks for your admin status as well, very nice 2 minutes --> works thx kreftt |
Regarding admin status, can I add a new groupid so my coadmin (different than admin) can still see the edit button everywhere?
The code for this would be appreciated! |
Yes whats yourusergroupid?
- miSt |
Say that in addition to Admin (groupid 6) I wanna add Coadmin (groupid 9).
|
If you already have the hack installed find this line:
PHP Code:
PHP Code:
|
i doit a change..
I prefer an image button. Then i made a report.gif and upload in images foulder (the report button in your forum style) Remplace in showthread... PHP Code:
I'm an admin and if i want to report some post to the moderators i can't ... then i add the report button to admins, mods, supermods and the user who made the post.. Sorry about my verry poor english.. I hope u understand and enjoy the modificattion Cool Hack! |
Yes i do understand what you mean..
All these things will be in v2 mate :) I got exams starting a week on monday so i haven't got time to test the next version out so im trying to get some help off someone :) Regards - miSt |
Here's an image for the report in standard vbulletin 2.2.x style :)
|
|
Cool:)
Satan |
Indeed
|
Man this hack is so cool!!!
Thanks 4 sharing with us. /me klicks install! |
Thanks Minifreunde
Glad you like it Regards - miSt |
I've got a question...I saw that you're using an if statement, with the usergroupids for mods, smods and admins I think...that will mean it's going to show the edit button to normal moderators, even if they don't mod that forum right?
(note to people who have conditional templates installed: this can be done through the postbit template) Good work MiSt, release more hacks :p |
Yes thats correct lol
- miSt |
Then shouldn't you use the ismoderator function instead?
|
Hmmm yea i thought about doing this just after i read your post... I'll try n beta test it now...
- miSt |
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|