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)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 01-26-2005 09:12 AM

Gentlemen,

it looks as if the messagetag issue was my mistake. The folks at vB told me that if volatile=1, the setting will be removed at the next upgrade, so I have to set it to 0, in order for message tag to remain in the settings after the upgrades.

To rectify this issue, please run the following query:

PHP Code:

update `settingset volatile=0 where varname='messagetag' 

Remember to add any TABLE_PREFIX if you are using one.

The installation instructions have been changed accordingly.

The funny thing was, that at some time in the past, I had suggested to another developer here, to set volatile=0 in his settings, so that they do not get overwritten at the upgrades. However, in my mind, I had it the opposite way! Go figure.

Rgds

Jamsoft 01-26-2005 12:03 PM

Quote:

Originally Posted by rh2004
Get Beyond Compare or a similar program?

Where can I get that?....

You guys should try WinMerge:

http://winmerge.sourceforge.net/

Its free, and it works great. I just used it to upgrade from vb 3.0.3 to 3.0.6.

One of its cool features is it's exclusions. I told it to ignore all lines that started with "||". This way, all dates and version numbers kept in the comments at the TOP and BOTTOM of the files are IGNORED for file comparisons. So when I tell it to only show me different files, it only shows me ones with different CODE changes.

Best of all, its free software. And it works REAL nice.

sifuhall 01-26-2005 02:03 PM

So how do you know if a file difference is due to a hack you have installed (in the case of many hacks) or a change from vbulletin?

Delphiprogrammi 01-26-2005 02:39 PM

that's totally your responsebility if you install hacks you must have a checklist of wich hacks you installed there is no support for it the vbulletin licence cleary sells "your are allowed to modify the orginal source code on your own risk" to answer your question i use the modification log hack from here ...

Delphiprogrammi 01-26-2005 02:42 PM

Quote:

Originally Posted by sv1cec
Did you copy the pictures to your web server? If you select the text option, do your links re-appear?

Oh, I wrote in the instructions that there is a new option, which controls the appearance of those links, didn't I? Go into your Warning System Options and check the option before the last. If you haven't set this, then your links will disappear.

Rgds

yes you did but there wasn't enough coffee in my system yet :p i reverted everything back i'll do the template edits again and activate that option

edit

yup works like a champ

sv1cec 01-26-2005 05:44 PM

Quote:

Originally Posted by sifuhall
So how do you know if a file difference is due to a hack you have installed (in the case of many hacks) or a change from vbulletin?

Typically, when you patch a file for a hack, you add some comments line before and after each hack code, in other words :

// This is AWS modification

code here

// This is the end of AWS modification

In that way, when you check the file, you know which part of code is due to a hack or it's pure vB.

sv1cec 01-26-2005 05:45 PM

Quote:

Originally Posted by Delphiprogrammi
yes you did but there wasn't enough coffee in my system yet :p i reverted everything back i'll do the template edits again and activate that option

edit

yup works like a champ

Glad you made it!

Rgds

docvader 01-27-2005 04:55 AM

I'm curious, but it seems that after I added this hack, I can't use the text message box for private messages, using Netscape Navigator or Firefox. But I can still use it in IE. Very strange. Has anyone experienced this? Any idea why this might be happening?

BTW, the hack is working superbly, without problems. Truly a masterpiece.

rich

Delphiprogrammi 01-27-2005 09:39 AM

well,

i have just tested it with firefox.The textbox for private messages works fine here .carefull with netscape that box uses dhtml is that even supported by netscape ? and netscape itself is that still under development ? didn't use that browser in agers in here that textbox works

jluerken 01-27-2005 05:20 PM

Hi, sv1cec

I have a small problem with the hack now.

When I am logged in I can start a new thread but if not I am getting this error message when I click on 'new thread'.

Fatal error: Call to a member function on a non-object in /PATH/forum/includes/functions.php on line 2070

On line 2070 in functions.php I have this:
PHP Code:

$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX."warning_options where oid='1'"); 

I added this:
PHP Code:

<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$forum[forumid]"><div class="smallfont">[$vbphrase[new_thread]]</a

to the forumhome_forumbit_level2_post template to be able to create a thread in a forum without the need to enter it.

I am not sure if really AWS is the problem but maybe you can help.


All times are GMT. The time now is 08:14 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.02727 seconds
  • Memory Usage 1,753KB
  • 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
  • (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