vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

NFLfbJunkie 07-19-2007 05:53 PM

After I installed this MOD information on my profile page got moved to the left. I tried changing some of the code around in the memberinfo template, but I can not figure it out. Can this be fixed?

Delphiprogrammi 07-19-2007 07:26 PM

those instructions for modifying the templates are outdated i know but updating documentation is one of the tasks i hate the most but i will update them

oooh Junkie now i get what you mean your lastactivity value is shown in a new line (it looks like that in the screenshot) i will check right now

NFLfbJunkie 07-19-2007 08:06 PM

So are you saying there is a template fix for this cosmetic problem?

Delphiprogrammi 07-19-2007 08:38 PM

Quote:

Originally Posted by Junkie (Post 1295994)
So are you saying there is a template fix for this cosmetic problem?

This is being caused by vBulletin itself i reverted the aws modifications to it and it still shows the lastactivity the verry same way as before ... code is around line 103 of MEMBERINFO template so it looks like this hack is innocent

Bravo 07-20-2007 02:18 AM

Code:

PostBit
Warnings: 1
Warning level 8
Warning bans: 1

Code:

Members Page
Warnings 1
Warning level: 8
Warning bans:1

where can I fix it so that I can add ":" to Warning level 8 and Warnings 1

Delphiprogrammi 07-20-2007 10:51 AM

Quote:

Originally Posted by Bravo2007 (Post 1296202)
Code:

PostBit
Warnings: 1
Warning level 8
Warning bans: 1

Code:

Members Page
Warnings 1
Warning level: 8
Warning bans:1

where can I fix it so that I can add ":" to Warning level 8 and Warnings 1

you can change that to whatever you want by editing the corrosponding phrases through you phrases manager.

admincp => language & phrases =>search in phrases there in the field "search for text enter the phrases variable name

postbit phrases
  • $vbphrase[aws_alerts]
  • $vbphrase[aws_warnings]
  • $vbphrase[aws_warning_level]
  • $vbphrase[aws_warning_bans]
member profile phrases
  • $vbphrase[aws_alerts_member_profile]
  • $vbphrase[aws_warnings_member_profile]
  • $vbphrase[aws_warninglevel_member_profile]
  • $vbphrase[aws_warningbans_member_profile]
at the buttom check "phrase text and phrase variable name" click search on the next page there will be an edit button click it now you can edit the phrase change it to your liking and save just be carefull you do not touch the parameters {1} (that are the parameters passed to it which contain the values for the counters)

provedel 07-20-2007 01:15 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1295769)
did you uploaded cpnav_aws.xml to /forums/includes/xml and refreshed your admincp ? anyway i found another problem in the current package and i took i temporarly away i will put it back when i fixed it

Hi, I found the problem...

In your package the folder for xml is XML, with capital letter, and in vB installation the folder was xml...

So, my ftp program put the files in a new XML folder...

Another error is a typo in the link in modcp to View issued warnings.

The link point to http://yoursite/modcp/mod_Warn.php but the file is without the W in capital letter.

Delphiprogrammi 07-20-2007 01:53 PM

Quote:

Originally Posted by provedel (Post 1296564)
Hi, I found the problem...

In your package the folder for xml is XML, with capital letter, and in vB installation the folder was xml...

So, my ftp program put the files in a new XML folder...

Another error is a typo in the link in modcp to View issued warnings.

The link point to http://yoursite/modcp/mod_Warn.php but the file is without the W in capital letter.

fixed both of them you can edit that in the plugin at hook mod_index_navigation

Delphiprogrammi 07-21-2007 11:34 AM

package has been updated when you import product-aws.xml now it will automatically add a link to Warn.php?do=ViewMyWarnings in your navbars quick links menu (this done through a template hook) and this is new in use to me maybe in th future i can make it more automatic and kill a few more template edits as this hack requirers allot of them

Delphiprogrammi 07-21-2007 03:10 PM

hi,

Anybody have uncached templates when you try to warn a user through th quick links drop down menu "warn user" in the admincp => users => all users (your user) ? vBulletin requirers an extra MySQL query for each uncached template so every query you can kill does count ... just need a confirm before i fix it


All times are GMT. The time now is 02:28 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.03500 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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