Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: lonrot - tammikuu 21, 2008, 10:52:43 IP

Otsikko: Does this mod exist?
Kirjoitti: lonrot - tammikuu 21, 2008, 10:52:43 IP
I have seen sites with a message on the top, something like this:

LainaaYou haven't posted anything since you registered, why don't you say Hello, try to contribute in this community bla bla bla

I would love to have a mod like this.
Anyone?
Otsikko: Re: Does this mod exist?
Kirjoitti: karlbenson - tammikuu 21, 2008, 11:00:37 IP
Maybe you could customize this mod to your needs
http://custom.simplemachines.org/mods/index.php?mod=363
Otsikko: Re: Does this mod exist?
Kirjoitti: lonrot - tammikuu 21, 2008, 11:05:12 IP
I suppose but I'm not very good at customizing, and the message was bigger, not like an active-x installer or so.
It's weird cause I could swer I saw a SMF site with this type of message.
Otsikko: Re: Does this mod exist?
Kirjoitti: Chriss Cohn - helmikuu 02, 2008, 07:27:24 AP
Hi, this shouldn't be so hard to code i think...
You just need:
- The right place in your theme to display the message
- The correct php if-clause like "if user is logged && postcound under xx posts { echo' YOURCODE BASED ON DIVs, TABLES, SPANS,Whatever and the ACTUAL TEXT TO DISPLAY';}

Thats it......
Otsikko: Re: Does this mod exist?
Kirjoitti: JenniferP - helmikuu 02, 2008, 03:13:16 IP
I think this would be good.

And before you nice chaps tell me to re-code.  I don't have a clue on how to do it, nor will I try.

Is there any wonderful gentlemen out there who has a code for this modification?
Otsikko: Re: Does this mod exist?
Kirjoitti: Harro - helmikuu 02, 2008, 03:14:58 IP
Perhaps it's this mod you are talking about: http://custom.simplemachines.org/mods/index.php?mod=340 ?
It says its for 1.1 but I've got it running fine on my 1.1.4 board.
If the package manager won't let you install it, you can always try to install it manual ( Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)) or add ;version_emulate=1.1 to the url in the package manager.
Otsikko: Re: Does this mod exist?
Kirjoitti: JenniferP - helmikuu 02, 2008, 03:52:42 IP
Thank you!

I just tried and it said I had an older version.  Eek.  :-[
Otsikko: Re: Does this mod exist?
Kirjoitti: Harro - helmikuu 02, 2008, 07:15:59 IP
Like I said, try to do it manual or with the version_emulate thing.