|
Viewing Single Post From: [CODE] Shout X v2.0!
|
|
Hendrick
|
Nov 27 2006, 09:19 AM
|
†Found the point of Life†
- Posts:
- 799
- Group:
- Members
- Member
- #43,322
- Joined:
- January 31, 2005
|
Shout X v2.0![/color] Automated PHP[/color]
Preview: Code on Support Forum Admin CP
Note: Due to bandwidth issues, you must have 25 post in our forum before you can activate your shoutbox. You can install this if you wish, but it will not work unless you have 25 post on our forum.
To Upgrade, read the SECOND post!
Ok, the features:
- Quote:
-
- Automated!
- ACP
- The ability to ban members.
- Emotions and BB Code
- Automatically gets the username.
- Colored User Names
Now, to install. Only a few, simple steps!
First, lets register your Shout Box! Your shout box needs to be on our server, so you can have your own unique Shout Box! Register Your Shout Box Fill out that forum, and then your step one is complete!
Ok, now, off to step two, the installing it to your forum!
First, log into your Admin CP. Then, go to your Board Wraps. In the header and Body section, find:
- Code:
-
<% BOARD %>
Below that, add this:
- Quote:
-
<script> var iSpan = document.createElement('SPAN') iSpan.innerHTML = " • <a href='http://shoutx.commx.info/2/admin/index.php' target='_blank'><b>Shout CP</b></a>" if(document.getElementById('userlinks').innerHTML.match(/admin cp/i) != null){ var e = document.getElementById('userlinks').getElementsByTagName('TD')[0]; e.insertBefore( iSpan ,e.childNodes[e.childNodes.length-1]); } </script>
No editing is needed in the above part.
Now, find:
- Code:
-
<% BOARD HEADER %>
Below that, add:
- Quote:
-
<script> function getu() { if(document.getElementById('userlinks').innerHTML.match('Logged in as:')) { get=document.getElementById('userlinks').rows[0].cells[0] user=get.getElementsByTagName('a')[0].innerHTML return user } else { user="Guest" return user } } </script>
<div class="tableborder"> <div class='maintitle' align='left'><img src='http://209.85.62.23/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'> <!---Notice Removing the copyright, (what is next) is against the law, and can be pursicuted in the Court of Law in the United States. It can result in a fine, or even jail time--><a href="http://commx.info/">Shout X</a><!---End Copyright--></div> <table width="100%" border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="100%" class='titlemedium'> </th> </tr> <tr> <td class="row4" align="center"><script> username=getu(); { if(username != "Guest") { document.write('<center><iframe frameborder=0 src="http://shoutx.commx.info/2/index.php?b=Account&u='); document.write(username); document.write('" scrolling="no" height=170 width=100%></iframe></center>'); } if(username=="Guest") { document.write('Sorry. Guest cannot view the shoutbox.'); } } </script></td><tr> <td class='darkrow2' colspan="5"> </td> </tr> </table> </div>
Ok, so, now you have to change a few things.
Change the green to the name you registered on the register page.
Now hit edit, and you are done! Enjoy.
Official support forum. Communications X Forum
|
|
|