![]() |
I got the hack installed... but for some reason it wont let me remove the banner i set in it.. how do i do this? it doesnt show it when i go into admincp and look under footer.
http://forums.fraghard.com/forumdisplay.php?f=104 |
how do I get this to display in postbits?
|
Quote:
|
I am into saving space. Placing an image above does not look good, and pushes page down. Where as there is a nice empty spot between avatar and ratings. I could place a forum specific image in there.
|
Well, you could try putting the $foruminfo[forumheader] (or footer) variable into the postbit template and see what happens. I think it should work just fine. Keep in mind that it will put the image (or whatever) in EVERY post. If you try it, let us know if it worked.
|
not necessarily. I am currenly using conditionals to display images in first post only, like CNN.
I tried already and nothing happened. That is why I asked. |
Oh ---
I guess the $foruminfo variable isn't being passed to the postbit template. Somehow the post needs to know which forum it's in and look up the header info for that forum. I'm not sure what would need to be done. Sorry I couldn't be of more help. Feel free to modify my code for a new hack and good luck :) |
Installed and working within minutes. If only every mod was so easy, thank you very much.
|
I went in "important and maintenance" and "execute sql query".
I tried: ALTER TABLE `forum` ADD `forumheader` MEDIUMTEXT NOT NULL AFTER `description`; ALTER TABLE `forum` ADD `forumfooter` MEDIUMTEXT NOT NULL AFTER `forumheader`; and got this: An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; ALTER TABLE `forum` ADD `forumfooter` MEDIUMTEXT NOT NULL AF Why? |
Be sure to put your forum prefix before 'forum' in both lines. So it might look like this:
ALTER TABLE `vb_forum` ADD `forumheader` MEDIUMTEXT NOT NULL AFTER `description`; ALTER TABLE `vb_forum` ADD `forumfooter` MEDIUMTEXT NOT NULL AFTER `forumheader`; |
All times are GMT. The time now is 07:38 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:
|