Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Image question from a newbie

edited March 2006 in Vanilla 1.0 Help
hi i am sure this is very dumb but i am trying to alter my forum to allow me to add my site logo at the top rather than the default text site name. I have played around with WordPress before and have always managed to achieve this by altering the 'Header' file in the 'Themes'. But being a complete newbie to Lussumo and i guess php I cannot find the right file to edit. Can anyone point me in the right direction? I am would also like to add GoggleAdsense scripts is this possible?

Comments

  • PS I would also like to know whether you can create sub-categories within a category.
  • In the Settings > Application Settings you should be able to easily insert some proper html markup to link your image if you wish. After doing so with a hard refresh, you should have you image linked properly. As for the subcategories, it's not yet possible and might not be at the default level for quite some time without an extension. At this moment, nobody is working on this type of extension.
  • many thanks for getting back to me. i have gone into appg/settings.php and have tried to place my header image link, as follows, in: define("agBANNER_TITLE", "<a img src="http://www.whatever.com/images/image.jpg"></a> "); should i be placing the link somewhere else? Or have i just made a glaring html error? or both?
  • i am sorry to keep asking Qs but is there also a way to make the 'Categories' tab the defualt pageon the index.php page (tabon) as opposed to 'Discussions' many thanks
  • edited March 2006
    Can you wrap img tags in a tags like that? I always thought you had to write it out fully like: <a href="http://whatever.com"><img src="http://whatever.jpg"></a> I'm no expert though...
  • Default tab selection will be an option in v1. Its possible in 0.9.2 but not worth the effort when we can feel the warmth of 1 so near.
  • sorry, I should have made this a little clearer: If you're within vanilla, you "should" be able to do it depending on the length of your image and url links, I don't recall exactly but I remember there being some limits to that input field. If you're adding it manually to the configuration file itself, you'll want to do either one of two things: escape double quotes within a setting that already contains double quotes, otherwise replace the setting items (not html markup) double quotes to single quotes. The latter will allow you a little more flexibility. Mark, maybe a quick mass find and replace on that settings file to switch all double quotes to singles if it hasn't already been done for all the settings files. What do you think?
  • thanks i will give it a shot What about integrating GoogleAdsense - can this be done?
  • in 9.2.x, I do believe there's an extension out there somewhere, as for 9.3/1.0 it will only be possible if the extension author of said extension brings it up. I haven't seen much activity lately in that regard.
This discussion has been closed.