Welcome to Geeklog, Anonymous Tuesday, December 10 2024 @ 03:23 pm EST

Geeklog Forums

differ header/footer for each topic and making the upcomming events block not appear in topics


Status: offline

ironfeather

Forum User
Junior
Registered: 01/27/03
Posts: 16
Heyza!

Right now I'm setting up geeklog on my site at ironfeather.com

I wanted to be able to have pages about other people on there (for example see this page) with their own header & footer so I edited lib-common.php so that now each topic has its own header.thtml & footer.thtml see my instructions at: here

Now I can make a topic area unique and then I wanted to make custom blocks for it. But with the default blocks (for example upcomming events block) that was tricky as they want to either not be activated or shown on every page. so with another edit in lib-common.php I was able to make it so that the upcomming events block is now only shown on a page that is not a topic. code/instructions : here

With these mods you can make it so each topic serves a different person or system. There are still more mods to make tho, such as when you leave the topic (for example: logging out or using the gallery) you then default back to the home header/footer & blocks. cheers! stevyn/ironfeather PS: my next mod is to make geeklog work with .htaccess drop mail if U have any infos, ideas, etc.


------
my geeklog discussion is at:

http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
 Quote

Anonymous

Anonymous
ok ran into a snag with my orginal mods so i updated it.

what was happening is that in search.php you can search all topics and it makes topics=0 which then attempts to use a 0header.thtml and 0footer.thtml.. ack...

so i made a new variable, $topic2 that you can pass and it wont interfere. ok the new infos are at:

http://ironfeather.com/cgi-bin/bbs/ikonboard.cgi?act=ST;f=20;t=12

Cheers!

Stevyn/ironfeather

 Quote

Status: offline

ironfeather

Forum User
Junior
Registered: 01/27/03
Posts: 16
just curious if anyone is really using my mod/hack, if so please sign up to the bbs at www.ironfeather.com/bbs and let us know and also goto the webmaster forum, find the post about the mod/hack and be sure to click on "Track this topic" (at bottom of post) and then when I (or others) add on to this topic you will receive a notice via email. cheers stevyn --------- my geeklog discussion is at: http://ironfeather.com/cgi-bin/bbs/ikonboard.cgi?act=SF;f=20
------
my geeklog discussion is at:

http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
 Quote

Anonymous

Anonymous
i'm going to implement this soon, but you're page is blocked by proxy server from work. Oh well, guess i'll have to work on my personal site on my real personal time. ;-)
 Quote

All times are EST. The time is now 03:23 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content