![]() |
Quote:
Gentlemen, I can withhold any updates and release them once a month. I've asked you in the past, what's your prefered way and got no anwers. It looks as if I have one vote for delayed releases, so that I do not send out new versions every two days (or sometimes every day). If I have no opposite views from you guys on this subject, I'll keep all the updates and release them once a month. |
Feature updates don't have to be there in 2 days for, I'm happy you are willing to incorporate them and can wait a few days/weeks if necessary.
However, bugfixes should not be delayed, is my opinion. |
This hack is VB3.05 compatiable, bar one very small code change related to the instructions, which isn't a big problem because most people who edit PHP files don't have mutiline search boxes and will search for the first line of code to change. I forgot which instruction it was, i'll find it again soon.
|
I think this is the one ... global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $wehavecensoredwords, $weneedacounter, $newpostid, $_REQUEST;
But was stated a few post ago. |
Quote:
|
I've encountered an error when trying to change something in the 'Manage Warning Options' page:
Database error in vBulletin 3.0.5: Invalid SQL: update gf_warning_options set hierarchical='Yes', automatic='Yes', automaticpm='No', autocomments='No', warner='0', automatic_warner='1', collector='1', banned_limit='7', points_before_banned='10', banned_usergroup_id='16', troll_usergroup_id='8', protected_usergroups='6|6', aprotected_usergroups='6', restore_groupid='0', incr_ban_days='Yes', max_no_bans='4', bans_mature='31', viewoption='All', multiple_per_post='Yes', send_pm_warning='Yes', send_em_warning='Yes', email_on_ban='No', historical='Yes', allowoffpost='Yes', warnings_per_page='20' where oid='1' mysql error: Unknown column 'autocomments' in 'field list' mysql error number: 1054 Date: Saturday 08th of January 2005 10:00:11 PM Script: http://mysite.org/admincp/admin_warn.php Referer: http://mysite.org/admincp/admin_warn...=manageoptions Did an install from scratch to latest version of AWS If I look at the table it is indeed not there. |
Hello sv1cec
When I look at the users (View Banned Users) in the mod of adminCP I get the next error. HTML Code:
Parse error: parse error in /var/www/html/forum/modcp/banning.php on line 518 vb 3.0.5 file : PHP Code:
PHP Code:
|
hi,
updated to the latest release all works fine except for the new feature with that "stop" sign like image i don't see it and i am logged into my administrator account & did all the template modifications and uploaded the images to /images/misc/Warn.gif all is ee is a read line with the users warning level Viol8or you need to add that colum to your database run Code:
ALTER TABLE `".TABLE_PREFIX."warning_options ADD COLUMN autocomments char(3) |
Quote:
look carefully that you didn't forgot a ( { ) } or quotes parse error is php syntax related error you should look in the line number php tells you OR in the lines of code above it |
Quote:
It's fixed, I forget to delete $querygroups) . "</span>", 7); after replacing that with $querygroups) . "</span>", 8); :ermm: |
I seem to having a template problem when upgrading postbit_legacy. The instructions say to look for this:
Code:
<td class="alt1"> Code:
<td class="alt1"> Any pointers? |
Quote:
|
is this hack 3.0.5 compliant?
|
Answers to all good people who wrote with problems (if I forget someone, it's not intentional, I just got my first sip of coffee):
Delphiporogrammer: Stop Sign: Did you upload the image in your images/misc directory? It looks as if you have it named Warn.gif. I think it should be warn.gif (caps are critical in a Unix system, I do not know what you are running your server on). Others with nested threads: Guys, you are lucky, because your system CAN show you the classic layout, even if it shows it nested! LoL, I think I've screwed up my files somewhere, and even though I select the "Classic" layout, I still do not get it, in my active site. Checking my test site now. Yeap. it does the same, so I think I have to look into it. I need to find which file is creating this problem. Give me some time. Nubian, yes, it works OK with 3.0.5, apart from the problem with the Classic view. Rgds |
Gentlemen,
Those of you who can see the Classic view of your posts, please try the following: In the postbit.legacy template, I suggested that you make the following change, in order to show the Warn Sign. HTML Code:
<td class="alt1"> HTML Code:
<td class="alt1"> Rgds |
Quote:
Thnx you |
sv1cec,
Just tested the new postbit_legacy above in 3.0.5, working well. :) Thanks. |
Quote:
Let me know something, because after installing all those patches and hacks on my server, I begun loosing control. From where do you select if a user will use the postbit or the postbit legacy template? In other words, where does a user declares if he wants the modern or the classic layout? I've re-installed this functionality on my system, I had forgotten to compare a file and it was that single one, where I needed to change something, but this (in my system) was implemented with a hack. Can you please tell me what is the standard way of doing it? Rgds |
|
sv1cec,
If I may, here's an alternative idea for the postbit_legacy layout, where the warn sign gets displayed in the left box, where the username, avatar and other icons are. Revert postbit_legacy to its default text concerning the warn sign part (post above by sv1cec). Then find: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> Code:
<!-- AWS stop sign hack --> |
Quote:
Thanks for that link, that is what I have done (mostly). But for the name of God, I couldn't remember where that was in the standard vB. I guess it is a general setting, applicable to all users, all posts. Thanks for the heads-up though, appreciated. As for your alternative position for the Warn Sign (I have to come up with a better name for it), it's fine with me, users can easily move that around, wherever they want, I just have too many things in that part of the legacy template (warning links, user away info etc), so I thought I'd place it there. But of course, users can move it wherever they see fit. Again, thanks and rgds |
no problem, and thank you for such great support on this hack. :up:
|
Quote:
Rgds |
sv1cec you should ask for your own Premium forum.
|
i have edited all the files but have not run the install script because i cannot figure the following:
in your instructions it says In the same template find:(postbit) Code:
<if condition="$show['reputation']">$post[reputationdisplay]</if> Code:
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if> 3. NAVBAR TEMPLATE In your navbar template, find: Code:
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr> i am using vb 3.0.5 ok i have installed it but now i get pharse error if i replace this code in the ./includes/functions_newpost.php Code:
global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $_REQUEST; Code:
global $DB_site, $vboptions, $vbphrase, $bbuserinfo, $forumperms, $usergroupcache, $wehavecensoredwords, $weneedacounter, $newpostid, $_REQUEST |
Quote:
First point, yeah that looks ok to use as the closest equivalent to my instructions. In the NAVBAR template, if you check the Quick Links menu, it should say something like "Miscellaneous". I am not sure, but I do not think NAVBAR was changed from 3.0.3 to 3.0.5. Check where it has the drop down menus. As for the last issue, you have to make that change. And that statement is not responsible for any parse error, unless you didn't put the semi-colon at the end. Maybe I forgot to put the semicolon in the instructions? No, it's there, but I do not see it in the code you posted. Check that there is a semicolor at the end of that statement, when you change it. Rgds |
Quote:
Rgds |
Quote:
thanks |
Quote:
gonna check one more time i'm sure i did something wrong :) my server runs on fedora (redhat ) linux |
Hey how do I show the Warnings: (level) to everyone that is displayed in postbit...
Just the Warning: (level) Not how many times banned |
Quote:
Rgds |
Quote:
If you want to alter that, go in your post bit template and change the code in the part that begins with : HTML Code:
<if condition="$viewoption=='All' and $bbuserinfo[userid]>0"> |
Quote:
Cool I just set it to all in options and it shows now, thanks |
Just installed and when I save my settings in admincp I get
mysql error: Unknown column 'collector' in 'field list' Database error in vBulletin 3.0.5: Invalid SQL: update warning_options set hierarchical='Yes', automatic='No', automaticpm='No', autocomments='No', warner='8040', automatic_warner='LGKbot', collector='rinkrat', banned_limit='14', points_before_banned='5', banned_usergroup_id='17', troll_usergroup_id='16', protected_usergroups='6|5|6|7', aprotected_usergroups='5|6|7', restore_groupid='2', incr_ban_days='Yes', max_no_bans='2', bans_mature='', viewoption='Mgm', multiple_per_post='Yes', send_pm_warning='Yes', send_em_warning='No', email_on_ban='Yes', historical='Yes', allowoffpost='Yes', warnings_per_page='20' where oid='1' mysql error: Unknown column 'collector' in 'field list' mysql error number: 1054 Date: Sunday 09th of January 2005 11:43:33 PM Script: http://www.letsgokings.com/bbs/admincp/admin_warn.php Referer: http://www.letsgokings.com/bbs/admin...=manageoptions Username: RinkRat |
Quote:
ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN `collector` int(10) unsigned AFTER warner WHERE oid=1 Remember to remove ".TABLE_PREFIX." if you are not using one. Also, from your error message, I see that you are not .... following the instructions. The warners and collector are supposed to be user ids not user names. Also, there is not version column in your table. What version are you trying to install? Rgds |
Quote:
rgds |
Upload the following two images to your web server, in images/misc.
https://vborg.vbsupport.ru/external/2005/01/4.gif https://vborg.vbsupport.ru/external/2005/01/5.gif Use the name closeOFF.gif for the first and closeON.gif for the second. Don't worry too much about this image though, in the next release, all admin functionality is handled within admin_warn.php, which means that there will be no calls to Warn.php, unless absolutely necessary. Also, you might try the image below, to see if it works better in your forum. I've adjusted it, so that the grey color around the sign is transparent. https://vborg.vbsupport.ru/external/2005/01/6.gif Rgds |
thanks sv1cec working
rgds |
Quote:
|
Quote:
THANKS!! |
All times are GMT. The time now is 08:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|