vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [v1.2] Edit / Report Button Hack (https://vborg.vbsupport.ru/showthread.php?t=45344)

Dean C 11-02-2002 10:00 PM

[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

assassingod 11-03-2002 01:44 PM

Ah, great work miSt!:) Except wheres the download file?

Chris M 11-03-2002 01:47 PM

Nice:)

Satan

assassingod 11-03-2002 01:47 PM

Yeah, there is is:) Thanks miST, will use this

Dean C 11-03-2002 01:50 PM

Thanks assasingod :)

I didn't add the attachment in right away because i wanted to include the install link in the file :)

Regards

- miSt

Dean C 11-03-2002 02:58 PM

Note: Minor bug fix.... Re-apply the changes to showthread.php

Regards

- miSt

assassingod 11-03-2002 03:35 PM

Looks good. I had no troubles at all with it:)

Ps. Check your PM inbox miSt;)

DrkFusion 11-03-2002 03:36 PM

Mist you stole my friends avatar!!
Simple, but nice hack:)

Thats one for your profile ;)
Keep it coming
-Arunan

LOD-squa 11-03-2002 03:36 PM

Hey Nice hack Thanks!

DrkFusion 11-03-2002 03:50 PM

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


All times are GMT. The time now is 01:48 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.01598 seconds
  • Memory Usage 1,728KB
  • 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
  • (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
  • (10)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