Web Develop Forum: How to ceate a custom message box - Web Develop Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to ceate a custom message box For IPB 2.3x Rate Topic: -----

#1 User is offline   Mr.Azzhole Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 27-January 09

Post icon  Posted 27 January 2009 - 05:58 PM

To start this off you will need this mod installed on your IPB board.

FSY22 Global Forum Message V3.0


Once you have this mod is installed and working correctly you can do the following to have a custom message box for news or whatever you like. The tutorial is for one that i created and use quite frequently. For it we will be using two mods.

RC22 Paypal button manager V1.2
FSY22 Global Forum Message V3.0

First you will need a little coding

CODE
<table border="3" width="100%">
<td valign="top" width="29%">[color="#FFFF00"][center][b]Title Of Box Here[/b][/center]
[center]Put your Text Here. [/center]
<td valign="top" width="29%">[center][b]Title Of Box Here[/b][/center][/color]
[center]Put your Text Here.[/center]
<td valign="top" width="29%">[center][b]Title Of Box Here[/b][/center][/color]
[center]Put your Text Here.[/center]
</td></table>


You can add more boxes if you want. Just remember that the more you add the smaller they become.
I prefer to use only 3 boxes as it has a nice outcome.
To add your color to the titles and the text. Just highlight the whole part of the code you want
colored.

Example:
I want this colored
Put your Text Here.


So i would highlight it and pick a color code for it
Then it has color. The table code doesn't get colored. If you try to it will show the code in the box itself
you don't want that. I suggest maximum boxes to be 3 if you use them. You can use links whatever you want in them.
Play around with it till you get the hang of it. Just don't change the main codes.

Example:
<CODE>
The rest you can change and alter to your liking.

What i have done with this is added a news section, hosting section, and a donations section.

The paypal button manager comes in to play for the donations section. What i did was once this mod was installed i right clicked on the paypal buton that shows in the forum under the owners name. Then hit properties. The pop up window then gives you the link that is associated with the paypal button. This will be used for the donations.
The hosting section i made a simple animated(doesn't have to be) banner at a small size. Then i linked the banner to the host site. So now the banner is a button. Same concept as the paypal button. So when you click on the banner for the hosting it redirects you to the host site. Same with the paypal button.

So now to show you my code i use.

CODE
<table border="3" width="100%">
<td valign="top" width="29%">[center][b]News[/b][/center]
[center]Site is open for business. Get your asses in here and get it rolling. If you have any issues please let Admin or Owners know asap so we can have them fixed.[/center]</td>
<td valign="top" width="29%">[center][b]Hosting[/b][/center]
[center]<a href="http://www.web-tech-hosting.net" onmouseover="window.status='Text to show in status bar'; return true" href="http://www.web-tech-hosting.net">
[img]http://cracked-it.net/WebTech.gif[/img][/center]</td>
<td valign="top" width="29%">[center][b]Donations[/b][/center]
[center]Click here to donate to the site[/center]
[center]<a target="_blank" href="https://www.paypal.com/xclick/business=12346661234@yahoo.com%20&item_name=Donation%20to%20Cracked-It.Net&item_number=6%C2%A4cy_code=%20USD">
[img]https://www.paypal.com/en_US/i/btn/x-click-but04.gif[/img][/center]</td>
</table>



Now you ask what to do with this fancy set of coding. That's where the Global message mod comes into place.
Go to your Acp - Components - Global Message

Now you will see editor box for the global message. Place your code into the box. And click save. Now return to the forum and refresh the page. With my coding i get this as a outcome:



Now you can can modify this any way you choose to to fit your needs and likes. This site is a shoutcast radio site so it didn't require many things. The custom code worked fine for what the owner was wanting and they liked it.
Only one thing with this little trick so to say that i will tell you. Kind of a bug. Anyone that isnt in the Root group that alters the Global Message mod, and saves it. it will remove group permissions from the Root group. So you will need a member that is Root to modify the mod coding in order for this to show to all groups.


Enjoy
0

#2 User is offline   jamiemark Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 20-February 10
  • Gender:Male
  • Location:London
  • Interests:Designing
  • Your specialities (detailed)::web designer

Posted 22 February 2010 - 08:31 AM

Nice information to know. Thank you
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users