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)
-   -   Improved Post Report System (https://vborg.vbsupport.ru/showthread.php?t=76582)

Ghanem 12-13-2005 05:13 PM

Quote:

Originally Posted by Delphiprogrammi
hi people,

God bless you
I was waiting for it

Delphiprogrammi 12-14-2005 11:04 AM

hi,

Just cleared out some dirty MySQL errors.There is still a problem with the script in the modcp for some reason it says it can't find the phrases used but they are there.I'm guessing it's because the 3.xx script uses some old vb function not supported in 3.5.x anymore when i got the time i will check the api docs at members.vbulletin.com.

A thing new to this hack is an automated uninstaller.Just hit the unintall button and all database modifications used are deleted (you get no warnings so think twice before hitting delete)

the problem with script in the modcp is solved.No unsupported functions but for some reason jelsoft moved the control panel stop message phrases to the error messages phraseid group

two thing to test out the cron script and the report.php modification after that ..... done (well as a beta to testdrive)

update

report.php modification done seems to be ok (no error messages or MySQL errors) but some things aren't set as they should be like for example the timestamp... i'm checking this.Also finische the cron script no problems with that

Delphiprogrammi 12-14-2005 05:26 PM

hi,
Well i don't get it where the hell is my dateline ?????? it's in the database show ......

PHP Code:

$db->query_first("INSERT INTO " TABLE_PREFIX "postreport(postid,userid,reporttext,status,dateline)VALUES($postid,$userid,'" .addslashes(htmlspecialchars_uni($reason)) . "',0," TIMENOW ")"); 

ok need a break now :speechless:

problem with timestamps solved all is working except for the thing "user comment" for some reason i didn't found yet that is staying empty

PHP Code:

$db->query_first("INSERT INTO " TABLE_PREFIX "postreport(postid,userid,reporttext,status,dateline)VALUES($postid,$userid,'" .addslashes(htmlspecialchars_uni($reason)) . "',0," TIMENOW ")"); 

htmlspecialchars_uni is still supported according to http://members.vbulletin.com/api so why on earth is that staying empty ??

Delphiprogrammi 12-15-2005 08:18 AM

hi,

Problem solved the user comment filed is properly filled in now

PHP Code:

$reason =& $vbulletin->GPC['reason']; 

but while testing i found another problem.If you have that redirection messages enabled you're redirected to an empty white page after you've submitted a report.Again i'm looking into this stay tuned ;)

Ghanem 12-15-2005 08:39 AM

Quote:

Originally Posted by Delphiprogrammi
stay tuned ;)

waiting :)

Delphiprogrammi 12-15-2005 09:27 AM

hi,

redirection trouble solved to.I'm gonna put it on my live site and let it run for a while if now new problems show up .... i can share it with others

Ghanem 12-15-2005 09:36 AM

congratulation :)
shouldn't you post it now in vb35x forum :cheeky:

Delphiprogrammi 12-15-2005 10:57 AM

Quote:

Originally Posted by unicorn
congratulation :)
shouldn't you post it now in vb35x forum :cheeky:

Yeah release will be in vb3.5.x code modifications.But i'm doing some more tests.You don't want a thing that crashes your database or server do you ? :rolleyes: i'm also playing with an idea to put the thread from the reported post(s) into the moderation que but that could cause a security issue.I don't know about you but let's say for example your forum is hit by spammers url don't you wanna take action as fast you possibly can ? putting such threads into the moderation que would make them invisible (except for moderators and admins offcource) and the spammers won't get hits from your forums but like i said that could cause abuse

Ghanem 12-15-2005 12:23 PM

Quote:

Originally Posted by Delphiprogrammi
Yeah release will be in vb3.5.x code...

I meant discussing it there will bring the 3.5.x coders and users while here the interested will be only 3.0.x :)

Delphiprogrammi 12-19-2005 01:06 PM

hi,

Everything is ready for release but i need to wait for the original author permission before that i'm not allowed to release anything yeah the rules of the opensource playground


All times are GMT. The time now is 02:07 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.01158 seconds
  • Memory Usage 1,748KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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