Your Theme
Written on 09/22/06 at 02:07:23 EST by nighthawk
I was thinkin of how nice it would be to be able to look up at the top where you select your themes from, or anywhere really, and be able to tell which theme you are using instead of having to change it to figure it out. Something like "Your Theme Is ***".

Thing is I don't have any idea how to make a mod. I've read Jack's tutorial on how to build a mod but it still didn't tell where to get the mod script or how to build the script to put inside of the thing. Just thought I'ld wish out loud. LOL

I'm Still learning!

Other messages in this Thread:
 
 Re: Your Theme
Written on 09/23/06 at 00:04:18 EST by Jack Deth
I thought I saw this on your site already...

Or was that just a prototype?

it should be really easy...  

Just a call to $themename or some string like that...

let me think about it, or find the time to look into it...

 Re: Your Theme
Written on 09/23/06 at 16:52:04 EST by nighthawk
Yea I was playing with the header.pl file and just machanicaly put it in but it messes the themes up a bit so I was thinkin of putting it into a block but then that would need to be able to tell what theme was, in fact, loaded. I didn't know what to do to call this info up so right now it is just hacked into the header.pl files of each theme.

Eventually I will know what questions to ask for the correct commands and then I will be able to contribute more than just wishing for it. LOL

By the way, I was able to get your IRC chat installed and it works great but how do you have the front page link telling folks who is in IRC Chat? Mine just has a link to IRC Chat on the front page.

 Re: Your Theme
Written on 09/27/06 at 02:06:18 EST by Jack Deth
The problem with calling the current them using codes is that I am not sure if it will call the current theme you are viewing, or if it will read the theme you have selected in your profile.

if it reads the theme running, then it would be easy to add this right into the themes/lang switcher itself...

As for the chat thing, I would need to see what you are talking about to know for sure...

There are alot of mods out there, problem is that banty has high-jacked modapp...  so its hard to find useful things there anymore.

 Re: Your Theme
Written on 09/27/06 at 05:20:13 EST by nighthawk
I downloaded your IRC Chat mod and configured it on my site from I don't know where now. The site used to be bright yellow but I can't remember where it is at. They mite have changed it by now. Anyway it doesn't matter now I've got it working ok. I thought that it was your mod but now I'm not sure.

 Re: Your Theme
Written on 09/27/06 at 16:29:05 EST by nighthawk

Jack Deth said:
I thought I saw this on your site already...

Or was that just a prototype?

it should be really easy...  

Just a call to $themename or some string like that...



Jack,

Would it work to create a .pl file to place in each theme folder and then use a string to call that .pl file up which would have the name of the theme written in it and tell it to write it in a block for that theme?

This way it could be set up as a mod to use in plugin.pl or maybe just hard coded in each theme as a hack.

I still don't know how to call things up or what commands to use such as $themename or &themename(); or anything.

Any help would be appreciated.

 Re: Your Theme
Written on 09/29/06 at 07:45:11 EST by Benson_Bear
If you want the "Your Theme is XXXXXXX" at the bottom of page, try changing the wording in language file ( cgi-bin/lang/enlish.lng if your using english) to something like this:

$msg{'401'} = qq~All trademarks and copyrights on this page are owned by their
 respective owners. Comments are owned by the Poster.
This theme is $usertheme~;

 Re: Your Theme
Written on 09/29/06 at 14:52:47 EST by nighthawk


Benson_Bear said:
If you want the "Your Theme is XXXXXXX" at the bottom of page, try changing the wording in language file ( cgi-bin/lang/enlish.lng if your using english) to something like this:

$msg{'401'} = qq~All trademarks and copyrights on this page are owned by their
 respective owners. Comments are owned by the Poster.
This theme is $usertheme~;



Thanks this works but it is not prominant on the page so I doubt that anyone can or will see it unless they spend time reading the fine print, if you know what I mean.

What I would like to do is either be able to place it in a block or something like that or even, if it is possible, incorperate it into the "Themes" block  where folks can see it easily.

I guess that I could try to figure out how to replace the title to the themes chooser block from choose to where it actually says the theme name. N w I m V?

Forums and Comments Brought to you by: www.2xlnt.com - WA
The comments are owned by the poster. We aren't responsible for its content.