vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

Andreas 11-06-2005 10:35 PM

Quote:

Originally Posted by Milchi
Problems are solved. First of all, to all 3.5 Customers, use the attached functions_warnings.php, this should solve all problems

What my Effects where:

- If i activate the Load Functions File Plugin, noone Could login or logout.
- I was unable to issue post OR non-post-related warnings (if i am already logged in)
- there where some errors in displaying old warnings correctly

What where the problems?

KirbyDE didn't get it managed to convert all Scripts to 3.5. I assume that i did it, but don't know it really (it's going to be testet on tuesday, we update our 12 000 customers board ;-)).

I don't know on which file you based your modification, but definitly not on the file from the ZIP (which works fine except that global $vbulletin; has to be removed) as you got some some code in totally different locations, as well as completely wrong code like

PHP Code:

    $to=$db->query_read("select * from ".TABLE_PREFIX."user where userid='{$to}'");  // Grab Member Its Going TO
    
$from=$db->query_read("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM 


sv1cec 11-07-2005 03:39 AM

Don't blame it to KirbyDE, it might be me who have made that mistake. Although it works on my board, but my board has the first vB 3.5 version of AWS I send to KirbyDE, when he jumped in on this.

In any case, good you have it solved.

jluerken 11-07-2005 06:46 AM

Complete Removal of Warnings is not working.
Wrong Link.

Please KirbyDE (Andreas) take a look at this hack again.
Its a quite useful hack which should be vB standard but actually it is not working correctly for 3.5.1

Milchi 11-07-2005 11:51 AM

I took the version which is for download here, downloaded at 13:00 Saturday morning 5. of november, GMT+1 German Time, based on this code, it is NOT functional and i made it to function ..

Complete Removal is working, you must click on the "inline mod" function of complete removal. don't know why the normal link is not working, didn't figured it out after 6 hours rewriting of code ...

@KerbyDE:
The Locations are different cause i restructered the file ;-)

This is the code from the ORIGINAL ZIP File, look (just downloaded it again this seconds)
PHP Code:

    $to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'");  // Grab Member Its Going TO
    
$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM 


sv1cec 11-07-2005 12:21 PM

Andreas is KirbyDE????

Hey partner, why don't you tell me so?

jluerken 11-07-2005 12:52 PM

Quote:

Originally Posted by sv1cec
Andreas is KirbyDE????

Hey partner, why don't you tell me so?

Didn't you read the announcement that KirbyDE became an official supporter here and that he changed his loginname to Andreas? :D
Hopefully I find a time slot to phone with Andreas today.

It would be good to have a list with all open points so that I can check with him if he has time and is willed to :D

Milchi 11-07-2005 12:57 PM

Quote:

Originally Posted by jluerken
Didn't you read the announcement that KirbyDE became an official supporter here and that he changed his loginname to Andreas? :D
Hopefully I find a time slot to phone with Andreas today.

It would be good to have a list with all open points so that I can check with him if he has time and is willed to :D

If so, pls give report (it's always funny if german people are talking english against each other *g*).

jluerken 11-07-2005 01:10 PM

Quote:

Originally Posted by Milchi
If so, pls give report (it's always funny if german people are talking english against each other *g*).

Its a question of respect I think.
All others want also to know what we're talking about :D

Aaeeh ok, I am sure sometimes Andreas don't want to know cause in most cases this means work for him :)

Andreas 11-07-2005 01:51 PM

For the "Invalid User Input"-error:

admin_warn.php, replace all instances of

PHP Code:

do_finduserwarnings&userid=$vbulletin->GPC[temp_uid]"; 

with

PHP Code:

do_finduserwarnings&{$userid=$vbulletin->GPC[temp_uid]}"; 

This is an utterely ugly Hack, but should work until the backend is fully revised.
(Currently working on the frontend, which is 85% phrased by now)

I am sorry that I can't fully work on this, but time is a major problem.

Andreas 11-07-2005 01:53 PM

Quote:

Originally Posted by Milchi
This is the code from the ORIGINAL ZIP File, look (just downloaded it again this seconds)
PHP Code:

    $to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'");  // Grab Member Its Going TO
    
$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM 


This code is correct, yours isn't (it's generating a mySQL result resource, while the needed data in $to and $from are arrays with the values :)).


All times are GMT. The time now is 03:47 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.01697 seconds
  • Memory Usage 1,765KB
  • 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
  • (5)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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