vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Comments Tags (https://vborg.vbsupport.ru/showthread.php?t=209341)

mad@Max 03-23-2009 10:00 PM

Comments Tags
 
1 Attachment(s)
The idea of hack belongs to Selrion.

This hack able to you add comment to users messages (like in IPB).

Features:
  • choosing groups to use admins tag and moders tag
  • prevent editing (edit button will be removed, if message contain a tag comment)
  • hierarchical protection (cut [mod] and [admin] for users, and [admin] for moderators)

Install:

Upload all files from folder "upload" in root directory of your forum.

Before installing the product, edit the following file:

Open file newreply.php, and search:

PHP Code:

if ($vbulletin->GPC['ajax'])
 {
  
// posting via ajax so we need to handle those  entries
  
$newpost['message'] = convert_urlencoded_unicode($newpost['message']);
 } 

Add bottom:

PHP Code:

    ($hook vBulletinHook::fetch_hook('commtag_illegaluse')) ? eval($hook) : false

Next import product.

To insert a comment button in the quick edit or quick post (if the button has not yet appeared there), insert the variable $ commbtn in the desired location on the bbcode panel.

Jasem 03-25-2009 12:49 AM

Good hack, thank you!

Installed.

ahmed-samara 03-27-2009 02:22 PM

1 Attachment(s)
i have problem :)

i have uploaded the images also the edit in newreply.php

mad@Max 03-27-2009 03:38 PM

If you about your site /softs/images/editor/comm.gif, you didn't upload.

Danisty 03-27-2009 10:02 PM

Is it impossible for members to use this? I have a special bbcode right now for moderator messages but technically anyone could use it if they type in the bbcode.

Also what does this mean?

Quote:

prevent editing (edit button will be removed, if message contain a tag comment)
If a moderator leaves a mod comment, can a moderator or admin edit the post to change it if needed?

mad@Max 03-27-2009 10:21 PM

Quote:

Originally Posted by Danisty (Post 1778596)
Is it impossible for members to use this? I have a special bbcode right now for moderator messages but technically anyone could use it if they type in the bbcode.

Yes, members can use this bbcodes, just in setting type their gropid.
Quote:

Originally Posted by Danisty (Post 1778596)
If a moderator leaves a mod comment, can a moderator or admin edit the post to change it if needed?

Surely:)

Danisty 03-27-2009 10:54 PM

Cool then I think this will work for what I need. I'm not installing anything until we change hosts, but I have this tagged. Thanks.

Alex_Volovenko 03-31-2009 08:08 PM

...ты бы им скрины на буржуйском выложил.. а то у них мозг закипит...

mad@Max 03-31-2009 11:34 PM

Заново "скринить" не охота:)

RobbieZ 04-13-2009 09:56 AM

Thanx Max

Just a quick note. Your download zip does not contain the XML its in txt format.


All times are GMT. The time now is 11:35 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.02798 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (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