![]() |
No, no, why-not; he is talking about the guy above us who says his 10 lines of code does everything yours does. He wasnt directing his comments towards you.
|
I commend why-not for even releasing this. nobody else has for vbulletin so I see no reason to complain. very few mods get 9 pages of requests like this has.
|
Quote:
I was summing up some features your hack have that where missing from the given example 10-line cronjob. I was defending your hack, not attacking it. Hope this reply have cleared the sky again. PS I haven't been sending you PMS ;) @All Please stick to discussing Sonia's hack, and let's stop hijacking this thread for posting alternative ways. If you can make the same functionality in a better hack, please write it and post it in it's own thread. @Sonia Sorry we let your thread got hijacked. |
Hi I have a problem and I can't seem to find the error i have made.
1. I don't get any option for the signature manager in the Admin control panel. 2. By typing in the url to signature.php i get the following screen: https://vborg.vbsupport.ru/ Any pointers greatly appreciated |
Looks like your Phrases are not installed.
|
i got the same probelm as mitch...how do u install phrases? and am gettin mySQL errors when i try to validate my signature ... can somene help me?
|
The screen shots look promising. Keep up the good work.
|
Quote:
First you must install the link to the signature manger in your index.php admin script, you can not directly link to the permissions page because you are by-passing the signature build groups control which will cause database errors! First.... Go to... ./admincp/index.php FIND THIS... Code:
construct_nav_option($vbphrase['promotions'], "usergroup.php?do=modifypromotion", '<br />'); Code:
construct_nav_option($vbphrase['promotions'], "usergroup.php?do=modifypromotion", '<br />'); Then go to your admin panel.... Admin Panel => Languages & Phrases => Language Manager => click 'Rebuild All Languages' Then refresh the (LEFT NAV FRAME) in your admin panel to get the signature manager link to appear under Usergroup, if it's not being shown! If you do all the edits before trying to run anything you will not have any problems, if you still have trouble, contact me (PM) and I will help you! Sonia |
a suggestion for your mod is as follows..:
Make it were the signature permissions can be added to multiple usergroups at once.. in otherwords make it where you DO NOT have to go one by one on each usergroup for the signature permissions.. because i don't know about other sites, but i have in excess 20+ usergroups that are everythign from limited avatars, to limited signatures, to banned usergroups/jailed usergroups..to different colored moderater ranks, and more.. and manually goign one by one would take WAY too much time. |
I have this error message when i try to edit my signature:
Code:
Database error in vBulletin 3.0.7: |
@Darmak
What MySQL version are you running? the ON DUPLICATE was introduced in MySQL 4.1 if i recall correct. |
Quote:
|
Quote:
Just download the zip file attached, and replace your current signature include files functions_signature.php and adminfunctions_signature.php with the ones included in this zip file! NOTE: ONLY FOR MySQL Server 4.0.24 Enjoy... Sonia |
Then you must hope for Sonia to update her hack to support older MySQL versions.
Edit: Oops never noticed that Sonia was faster with a solution then i was with my reply. :D |
Quote:
I am doing this for the final release, just like Usergroups you can inherit another groups permissions so as to save time not having to configure each group with a new set of permissions! Tere will also be a multi select box at the bottom on the permissions configuration page that will be shown if there are other groups that inherit the same permissions! After the final release I will be doing another plugin that will allow for multi groups for each user, so a user can be a member of many groups and have different permissions based on forum and permissions that s/he has for the forum they are currently accessing. That will be as far as will be going with this mod, besides keeping it updated until the need for it has been replaced with a better vBulletin control. Thanks for your input, it will help me make this better for everyone! Sonia |
Quote:
|
Fix (2) coding errors!
1. Array to String error for bbcode SIZE tag. 2. Missing dot operator for smilies path. NOTES: 1. If I have installed this on your forum or fixed a install then you do not need to do this! 2. Darmak or anyone else that I gave MySQL version 3 or 4 files to, do not need these edits! Everyone else should do this! Open './includes/functions_signature.php' FIND THIS Code:
$errors[] = construct_phrase ( $vbphrase['sig_editor_size_bbc'], $in[$i], $code['size'][0], $code['size'][1] ); REPLACE WITH Code:
$errors[] = construct_phrase ( $vbphrase['sig_editor_size_bbc'], $in[1][$i], $code['size'][0], $code['size'][1] ); Open './includes/adminfunctions_signature.php' FIND THIS Code:
$path = ( substr ( $path, -1 ) != '/' ? '/' : '' ); REPLACE WITH Code:
$path .= ( substr ( $path, -1 ) != '/' ? '/' : '' ); Done with error edits! Sonia |
Two bugs I found
It doesnt seem to do any of the signature image checks (with the exception the domain restriction which is missing the help file so far :P). And the domain check is bugged in the way that https://vborg.vbsupport.ru/ doesnt work (properly restricted) but https://vborg.vbsupport.ru/ does work (avoids check). And as said, the signature image doesnt get checked for the size, height and width |
Quote:
Which one is not getting checked! Please give a real example because both of those you gave will not help me find what the problem is, if there is any! This would not be checked because it would be a error... {img}http://www.duhweb.com/sig.duh{/img} :S/ERROR: A [IMG] link is invalid or using a unsupported (image extension). We only allow [gif, jpg, png, jpeg] for image type linking. If the extension was valid you would get this error! If the image was not found A invalid {IMG} link (http://www.duhweb.com/sig.gif) was found. :E/ERROR: This would not be checked because it is not a valid img url, it missing the protocol (http://...), so the signature control will not even validate it because it will never be displayed as a image! {img}www.duhweb.com/sig.duh{/img} The signature control will only validate a IMAGE that is contained in valid BBCODE or valid HTML code if that is turned on. There is no need to validate IMAGE links that are not valid because they will not be converted! if you want to validate {img}www.duhweb.com/sig.duh{/img} then I will add it for you personally, but I won't add it to the Final release because it is wasteful resources being used. Why, because I would have to guess where the image is (http, https, ftp, ftps) which would result in (4) remote calls because the person is to lazy to add the protocol to the image tag! So like I said give me a real working example, because I am not very good at guessing! Oh, ya.... I forgot the HELP file for all the options (Domain blocking configuration and the rest of the options) will be up tonight, plus the HELP phrases will be added tonght so you can add them to the Admin Panel if you want! Sonia |
error in phrases:
PHP Code:
PHP Code:
phrase: PHP Code:
PHP Code:
edit: more issues! the phrase signature_permissions would not display as a Control Panel homepage type. I had to make it a CP global before it would display. I have the same issue mentioned above, it doesn't check the image's dimensions at all using proper img tags and gives this error: A [IMG] link is invalid or using a unsupported (image extension). We only allow [gif, jpg, png, jpeg] for image type linking. |
Hey I am getting this error, if I get time tonight I will look into your for statement but if you happen to fix it before then let me know
Warning: Invalid argument supplied for foreach() in /includes/adminfunctions_signature.php on line 560 Thanks, Mike |
For those of you that are getting blank menu's and you followed the instructions, you need to refresh your phrases.
Easiest way is to go and edit any one of the phrases in your phrase manager, BUT DO NOT CHANGE anything in it. Just save it. This will force a refresh. Then refesh your admincp window and you should be all set. |
Hm. Now I have to figure out what to do. If I force the validation of off-site images, then those that have used my siguploader hack lose the ability to have their sigs. :/
Reason being, the sig uploader hack will spit out the text you need to put in so it points at your sig. But its formatted as hxxp://www.website.org/forums/image.php?blahblahblahblahblah So its invalid. /sigh |
Is the install files going to become any easier? I couldn't install this becuase of this, (Not that its hard to open each install instruction .txt file, but becuase i'm to lazy i guess)
And i definetly don't understand what to do with the cron stuff |
I've been waiting for this hack ever since I went to vB3. Has the big upgrade come around?
|
Quote:
God Bless Sonia |
Awesome. No Rush IMO. I rather it be more complete :cool:
Thanks for all your hard work! |
I have a user that is getting the following error when trying to edit his sig:
There seems to have been a slight problem with the SprintUsers.com database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Quote:
|
Okay, I really want this. I just want to know if the downloadable file at the top is the complete package (has it been updated), or do I need to go through the thread again after and apply all the chages I saw (yes I read the thread before I install.)
Thanks, |
Quote:
|
Quote:
|
I'm wondering the same thing. Also the way you've given the install intructions in the package is a pain...
|
strange, i was able to install this without a single problem... anyway, i hope to see the update soon, as it's in beta stage actually...
|
Quote:
|
I still have problems with this.. it can't limit the size of images. I turn the 'validate image links' on and it just says
Quote:
|
Quote:
|
I am a little confused with the conjob...do I type:
curl -q /dev/null http://<url>.com/monitor.php or curl -s -o /dev/null http://<url>.com/monitor.php or is it something totally different? (This is in my cron options in cpanel) also: what does this mean: Before you do anything, open the script that you will be using. Set the #bang bang line# to point to your scripts interperter. I'm guessing it is for the #!/usr/bin/php -q line, but what would I need to change and where do I find the "scripts interperter" ??? |
Quote:
|
Quote:
PHP Version 4.3.11 MySQL Version 3.23.58-log |
I think the multi table UPDATE syntax was added in MySQL 4.0.4
This means that either you can not use this hack, or the coder would have to come up with an alternative for this statement. |
All times are GMT. The time now is 07:41 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:
|