vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture (https://vborg.vbsupport.ru/showthread.php?t=59718)

Erwin 08-22-2004 12:15 AM

Quote:

Originally Posted by SnowBot
I know you can not release the whole hack as like you said you used some code from it, but anychance you may release add-ons for it :) So we have the best of both? I love this hack but i was hanging around for the updates.

I would love to release the integrated hack - the ultimate vB moderating system hack. :) Everything is automated - from one-click thread moves to a trash bin forum, to one-click post split and moves, with automatic PMs/ emails to the member on all moderator actions, automatic thread creations of moderator actions in separate staff forums etc. Like I said, this hack has been quite redundant. The only problem in releasing it is that it's quite complex, and builds on this original hack and the other warning hack quite extensively - writing the instructions would be a nightmare. :) Not to mention the template mods involved in postbit and showthread, and the moderator php files!

pcalloway 08-25-2004 12:59 AM

Am in the midst of applying this hack and on the step where I'm to edit the "postbit" template and replace this code:

Code:

<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
Problem is, I cant find anything like that. The postbit does appear to have been edited by a prior hack. Anywhere else I can put the code?

pcalloway 08-25-2004 02:22 AM

Quote:

Originally Posted by pcalloway
Am in the midst of applying this hack and on the step where I'm to edit the "postbit" template and replace this code:

Code:

<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
Problem is, I cant find anything like that. The postbit does appear to have been edited by a prior hack. Anywhere else I can put the code?


Got that plugged in somewhere and it seems to be working with the notable exception that when I pull up the drop-menu, no 'Warning Score' is showing up between the parantheses. I presume whatever score they've accumulated (1-7) should show up there. I can go into the User Profile in the admincp and see it there... how do i get it reflecting in the vbmenu in the postbit?

68 Z-28 08-31-2004 05:17 AM

Just installed the hack and so far so good.

Only thing I ask is: Do the moderators have the ability to subtract points or are the admins the only ones allowed to do so. Also, is there any way that we can see who warned the user?

the wiz 09-03-2004 07:37 PM

I don't have time to look through 17 pages, so I don't know if this has already been discussed.

My vBulletin tables start with vb_ and when I go to the warning points thing, it is looking for vb.

How can I change this?

the wiz 09-03-2004 11:17 PM

Also, when I edit the forumdisplay.php file, the following lines:

Quote:

SELECT " . iif($sortfield == 'voteavg', $votequery) . " threadid, user.usergroupid AS usergroupid

$deljoin LEFT JOIN " . TABLE_PREFIX . "user ON user.userid = postuserid

AND usergroupid<>17
give me the following SQL Error when someone tries to view one of the forums:

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT threadid, user.usergroupid AS usergroupid
FROM vb_thread AS thread
LEFT JOIN vb_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') LEFT JOIN vb_user ON user.userid = postuserid
WHERE forumid = 16
AND sticky = 0
AND visible = 1
AND usergroupid<>8



AND deletionlog.primaryid IS NULL
ORDER BY sticky DESC, thread.lastpost DESC
LIMIT 0, 20

mysql error: Unknown table 'user' in field list

mysql error number: 1109

Date: Friday 03rd of September 2004 05:50:45 PM

AnhTuanCool 09-07-2004 12:17 AM

Works perfectly :D

One more thing I want to make sure, if I edit my member in that pop-up to modcp/user.php, would I be logged in Moderator Logs or in any logs? ;)

Erwin 09-07-2004 02:08 AM

Quote:

Originally Posted by AnhTuanCOol
Works perfectly :D

One more thing I want to make sure, if I edit my member in that pop-up to modcp/user.php, would I be logged in Moderator Logs or in any logs? ;)

Yes. :)

Glad to hear it still works.

AnhTuanCool 09-07-2004 03:42 AM

Oh thanks, Erwin, that's great ;) Keep up with great work

68 Z-28 09-13-2004 05:57 AM

What would it take to add a log file of who warned who? Perhaps something in the admin CP that's listed, much like the banned users. What would be included for each entry? User warned, Moderator, link to post, amount of warning points issued, ammount of warning points total for the warned user. Would that be very hard to do?

Also, is there a way to limit the removal of points to solely the admins?

Thanks for the wonderful hack Erwin, works great so far.


All times are GMT. The time now is 01:52 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.01491 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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