Print Topic - Archive
E-Blah Community / Modification Archive / a litte help plz???
Posted by: tsopranolcn (Guest), January 21, 2003, 8:54pm
I wrote a mod based on the hack I posted on eblah as far as highlighting # of new posts and have a couple of questions about it.I'm trying to incorperate bold,color and font size options.How do I do this so the user can customize color and font size without having to manually edit Routines.pl?The only way I can think is to install the mod and then go to mod center/current files to modify/current actions/replace and then changing the font size and color.But that doesn't seem to change it.Can ya gimme a litte help with this.I'd rather start writing mods instead of using hacks so the hacks don't get overwritten.Thanks
Posted by: Justin, January 21, 2003, 9:26pm; Reply: 1
It may just be me ... I may be tired and all ... but what did you say?
Posted by: tsopranolcn (Guest), January 21, 2003, 9:39pm; Reply: 2
If I write a mod that has options that need to be edited by the user??Maybe something like this:
|
Code
if(!$pmdisable) { $displayuser .= qq~, $rtxt[10] $pmcnt ( <font size=SIZE color=COLOR><b>$new</b></font> $rtxt[11]) <a href="$surl,v=pm" title="$rtxt[12]">$rtxt[13]</a>.~; } |
|
Where SIZE and COLOR would need to be edited.What's the best way to have the user edit the values before installing the mod??Would I just zip it and include a readme.txt to open the .v1m in notepad,edit values and then install mod???
Posted by: DeathBox, January 21, 2003, 11:01pm; Reply: 3
I also dont see where your trying to get at :P Then again, I too am tired heh. What exactly is your mod supposed to do?
Posted by: tsopranolcn (Guest), January 21, 2003, 11:04pm; Reply: 4
where it says you have (0 new) private messages.I wanna make the "0" bold,change the color and the size!
Posted by: DeathBox, January 21, 2003, 11:06pm; Reply: 5
Alright, so what i understand, is you want all that editable in the user's profile? Or just changed in General in Admin settings or what (Sorry for all the questions and such, right now im really tired and usually i lose all common sense right there when im tired :P)
Posted by: tsopranolcn (Guest), January 21, 2003, 11:11pm; Reply: 6
nope.users will see what the admin wants it to be.If admin wants size=3 and color=yellow then would they just edit the v1m in notepad before installing?
in other words I used the mod for my board but if someone else doesn't like yellow and wants blue how would they edit it?
Posted by: tsopranolcn (Guest), January 22, 2003, 12:00am; Reply: 7
nevermind I got it figured out.Thanks anyway
Posted by: DeathBox, January 22, 2003, 5:30pm; Reply: 8
heh, i think it would just be better to have it editable in the admin options :P
Posted by: tsopranolcn (Guest), January 22, 2003, 10:33pm; Reply: 9
Good point!But that was the easiest way I knew how to make the mod.What I'd really like to do is make it so you get a small popup window letting you know that you have a new private message.I'm still an E-Blah noob though so that might have to wait a while.:)
BTW if you have any other mods that you'd like to share can you post em over on
BlahHackz.I'd like to see it turn into something like yabb's Boardmod site.They have a huge mod community and that would be a cool thing to have for E-Blah as well.
Posted by: Justin, January 23, 2003, 6:37am; Reply: 10
We'd need a LOT more users ... :-/
It is possible, however ... also, they'd wait for the final to come out.
- Justin
Posted by: tsopranolcn (Guest), January 24, 2003, 4:57pm; Reply: 11
Quoted from
admin, posted
January 23, 2003, 6:37am at
here
also, they'd wait for the final to come out.
- Justin
please elaborate..
??)
Posted by: Justin, January 24, 2003, 8:01pm; Reply: 12
Betas are updated every 2 weeks or so ... people wait for Finals. Anywho ... there are no perl programers, that I know of, except for me. :'(
- Justin
Posted by: DeathBox, January 24, 2003, 10:59pm; Reply: 13
There always is me ;D But there aint anything you couldnt do that I could :P
Posted by: dl33t, October 21, 2003, 9:06pm; Reply: 14
Lol, found this thread doing a search on "install mod" ;D
Justin mentioned something the other night about looking for modders, so I was trying to look into it... Haven't found too much.
And seein' as how BlahHackz is still down... ( :'( )
Anybody got a link to a quick breakdown / description of mods and how to build them?
Thanks.
Posted by: Manuel R. Medina, October 21, 2003, 9:29pm; Reply: 15
contact me via MSN: manuel@medina.as
I'm not THAT good at Perl, but at least I can help you make "cosmetic" mods...
Posted by: Justin, October 22, 2003, 6:16am; Reply: 16
You really just have to know the perl code. If you know that, you can probably make them. You need to get use to what does what.
Routines -- Does the header / footer, and other basic functions the board needs done (ie: write to the clicklog, output the date and time, send e-mail, etc.)
QuickLoad -- This file loads files before the theme is loaded (if I am not mistaken), it's the basic code for the flock routines (fopen/fclose), and also opens the member file and gets the information for the theme from it.
Load -- Load basically just formats the board (like gives members stars -- in message display, gets the board data file open and reports errors if not found, formats messages before they are written to file (so \n's are <br>'s), checks to see if a member is allowed in a certain area (like are they admin, members, and guests).
Blah -- This opens all the files, lol.
Other files are specific to that group. That should help most perl modders out. ;)
Oh, btw ... all the files above are the core, or required, files of the E-Blah package. If those files aren't there, the board will NOT work. :P
- Justin
Print page generated: June 19, 2013, 8:52am