![]() |
Nice Hack FireFly works great
|
Well I tried to add this to PHP include, then use it on the forums
PHP Code:
Well this only placed the number of clicks above the logo , and return the number "1" were the correct number was sup.. to be.. I just* got vBulletin and have not had time to read all the information on it, nor do I understand how it works at all (heh) But I woud have figure you add that to phpinclude and then use it.. anyone have any ideas? :) |
Quote:
Everyone seems to have no problem but I'm having tons of problem! Here's the error message when I tried to add a forum in vb's cpanel: Fatal error: Call to undefined function: makeinputcode() in /home/everyone/public_html/forum/admin/forum.php on line 123 Line 123 is this line: ?makeinputcode("Sponsor name","sponsorname"); In the cpanel I would see the add forum screen but after the "Sponsor(only supported by categories)" header, it gets cut off and the rest of the input fields are not shown. And I'm getting this error when I try to show my forums: Parse error: parse error in /home/everyone/public_html/forum/index.php on line 365 Line 365 in my index.php is this: if?($forum['sponsorimg']?&&?$forum['cancontainthreads']==0?&&?$depth==1)?{ Which doesn't make any sense. It seems it's not regconizing the fact that I have added the new fields in the forum tables, and I'm sure that I have added them to the table. Please help!!!:( |
MarkB:
PHP Code:
Well, the first error I have NO idea what is all about. That function is used on ALL admin pages, can't understand what it's producing an error here. About the second error: Can you paste a line or two BEFORE line 365? Maybe you deleted a ; or }, I dunno. :confused: |
makeinputcode("Sponsor banner file<br>(your default images folder is added, no need in that)","sponsorimg");
Shouldn't that be "sponsoring" ? Also, I would like all my sponsor images in a subfolder under images. Can you help me with this? |
Quote:
when you enter the path to the image just enter: /images/sponsors/blahblah.gif or what folder you create and sponsors image name... |
[QUOTE]Originally posted by SirSteve
makeinputcode("Sponsor banner file<br>(your default images folder is added, no need in that)","sponsorimg"); Shouldn't that be "sponsoring" ? Also, I would like all my sponsor images in a subfolder under images. Can you help me with this? |
[QUOTE]Originally posted by YourHostSucks
when you enter the path to the image just enter: /images/sponsors/blahblah.gif or what folder you create and sponsors image name... |
doh, yea i have mine setup in the /sponsor folder..
and /sponsors/blah.jpg just a brain fart -=/ |
Quote:
Thanks. |
All times are GMT. The time now is 10:49 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:
|