![]() |
I have been comparing the code between vBAdvanced homepage and VBA CMPS, and began to play with the index.php files for both. I took this bit of code from vbAdvanced homepage:
Code:
if ($vboptions['home_navbar']) Code:
require_once('./global.php'); The ratio of php-to-mysql and page load time changed very little, if any. I get no errors either. Is this an acceptable fix or have I introduced bad code into the CMPS page? |
Quote:
"Maximum Input (Input, Textarea only) This setting is how many characters a user is allowed to enter into this field. This can be any number between 1 and 250." Nice idea but it's not working out like I had hoped. :( |
Quote:
|
And that query would be?
|
Testing it now - Such things can royally mess up a board if done incorrectly :)
BTW, 3.0.3 allows you to set any length. |
The correct query is..
ALTER TABLE userfield MODIFY COLUMN fieldX TEXT You need to change fieldX to the actual field # you're going to use. PS you can use this script to up the lengths of the other profile fields, such as biography, if you want. |
Thank you for the followup, if this works then the hack becomes extremely useful to me and my members. Will check back in a bit.
|
Nice Michael. :)
Along the same lines as the msg I sent you, just got to figure out how to get the actual links to work in the profile view if other members look at it. I know I could keep it a private field, but whats the fun in that. :p |
BRAVO!!!! Worked perfectly!!! Much appreciated!!!!
SVTOA clicks *INSTALL* |
Michael, very nice hack. Installed it today and it went smoothly. However, I have the "Links Directory v1.0.0 RC3" by vBadvanced installed on my forum. All of the "links" directory scripts call for their links_config.php file, which in turn calls for the vbulletins' global.php file, where the PHPINCLUDE_START is called. The "links" templates also call for the vbulletin $navbar. But the "My Links" drop down does not show when you go to the Links Directory Pages. I suspect it has to do with the PHPINCLUDE_START not being called apon correctly in the "links" files, but I'm not sure. I'm not getting any errors. The "Links Directory" files are in a separate directory within my main forum directory.
/home/vbforum/links See the two attachments. Any clue where to start looking? Thanks, John |
All times are GMT. The time now is 12:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|