Advertise Here

Author Topic: [Code] forum wrapperv1(integrated with Xtra Smileys)  (Read 5812 times)

0 Members and 1 Guest are viewing this topic.

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
[Code] forum wrapperv1(integrated with Xtra Smileys)
« on: August 08, 2007, 06:25:24 pm »
This Wraps your forum in a cool tittle wrap.

demo: http://rpgamer.prohosts.org/forum/index.php

place in headers:

Code: [Select]
  <!-- =========================
         Begin Forum Wrapper with xtra
         smilies
      =========================--> <center> <font size="1"><b><BR><BR><br><br></center>
</span></div></div>

<center><div class='titlebg2'>Admin</div>
<div class="tablepad"><span class='desc' ><font size="1">
<a href="http://rpgamer.prohosts.org/forum/index.php?action=profile;u=1">nitsua </a><br>
</font><br><br>
</span></div></div>

<center>
<div class="titlebg2">smiley's</div>
<div class="tablepad"><span class='desc' >



<a name="smileys">
<SCRIPT type="text/javascript" language="javascript">
<!-- // Hide code via emoticon

  function getSelection() {
   var selection= document.sm.output.selectedIndex;
   return selection;
  }

  function smile(swert) {
   var selection= getSelection();
   if (selection == 0) {
    var output= '[img]'+swert+'[\/img]';
   } else if (selection == 1) {
    var output= swert;
   } else if (selection == 2) {
    var output= '[image]'+swert+'[\/image]';
   }
   document.sm.wert.value= output;
   document.sm.wert.select();
  }

  function changeOutput() {
   var output= document.sm.wert.value;
   if (output.indexOf('[img]') != -1) {
    var output= output.substring(output.indexOf('[img]')+5,output.indexOf('[\/img]'));
   } else if (output.indexOf('[image]') != -1) {
    var output= output.substring(output.indexOf('[image]')+7,output.indexOf('[\/image]'));
   } else if (output == "Click on smiley for the code") {
    var output= "";
   }
   smile(output);
  }

 // Stop hide -->
</SCRIPT>

<script language="javascript">
  function toggle_it(itemID){
      // Toggle visibility between none and inline
      if ((document.getElementById(itemID).style.display == 'none'))
      {
        document.getElementById(itemID).style.display = 'inline';
      } else {
        document.getElementById(itemID).style.display = 'none';
      }
  }
</script>
 
<TABLE  width="200px" class="tborder">
  <tr>
        <td class="catbg">
      <center><a href="#smileys"  onClick="toggle_it('pr1')">&nbsp;&nbsp;&nbsp;&nbsp;show&nbsp;&nbsp;&nbsp;&nbsp;<img src="http://i102.photobucket.com/albums/m105/mysmileyplace/smileydropdown.gif">&nbsp;&nbsp;&nbsp;&nbsp;hide&nbsp;&nbsp;&nbsp;&nbsp;</a></center></td>
   </tr>
</table>

<DIV style="
      position: absolute;
      z-index: 2;
      visibility: show;">
<table class="tborder" width="200px" id="pr1" style="display:none;" align="left"  border="0">
  <tr>
      <td align="left" class="windowbg2">
      <FORM name="sm"><small>Left click smiley.  Right click box to copy code. Paste to Message.<BR /><BR />
      <INPUT type="text" size="22" name="wert">
      <SELECT name="output" onChange="changeOutput()">
      <OPTION value="ubb1" selected>img</OPTION>
      </SELECT>
      </FORM>
    </td>
  </tr>
 <tr>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/miniboybye.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minispin.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minigirlbyebye.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minicry.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minisnore.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/miniboywinky.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/undecided.gif" onClick="smile(this.src);">
</td>
</tr>
<tr>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minigirlcrazyeyes.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minigirlwinky.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minidance.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/smelly_mini.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/mini_search_sky.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/cool.gif" onClick="smile(this.src);">
</td></tr><tr>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/kitty.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/smiley.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/huh.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/miniangeldevil.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minigoof.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/lipsrsealed.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/tongue-1.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/buck2.gif" onClick="smile(this.src);">
</td>
</tr>
<tr>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/miniboycry2.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/miniboytongue.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/minirofl.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/kitty.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/sad.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/smiley.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/babyduck.gif" onClick="smile(this.src);">
</td>
</tr>
<tr>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/pinnochio.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/running2.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/nutzo2.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/oldman_glasses.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/smelly.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/searchingsky.gif" onClick="smile(this.src);">
</TD>
</TR>
<TR>
<TD class="windowbg2">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/sniff.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/angeldevil.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/malesnore.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/boy_cleanglasses-1.gif" onClick="smile(this.src);">
<IMG src="http://i102.photobucket.com/albums/m105/mysmileyplace/explosion.gif" onClick="smile(this.src);">
</TD>
</TR>
<TR>
<TD class="windowbg">
<small>smileys by connie
</td>
</tr>
</tr>
</TABLE>
</div>
</a>
<!-- =========================
         end Forum Wrapper with xtra
         smilies
      =========================-->



to make an image the background add this to the bottom of your theme:
Code: [Select]
.tablepad   
{
        background-image: url(YOUR IMAGE URL HERE);
        padding:6px;
        border:1px solid #FFFFFF;
}
replace "YOUR IMAGE URL HERE" with the url to your image.

To make it a color place this in the bottom of your theme:
Code: [Select]
.tablepad    { background-color:#FFFFFF; padding:6px; border:1px solid #000000; }

 

Change FFFFFF  to the background color you want
Replace 000000 with the border color you want.
 modify the code:
Code: [Select]
<a href="http://rpgamer.prohosts.org/forum/index.php?action=profile;u=1">nitsua </a> with your admin url and name
credits: Roswenth: for starting it with the sidebar.

simply sibyl: for making the CSS's, and for making the extra smileys code.

me: for giving it extra touches.

have fun!
any problems? ask me!
« Last Edit: August 28, 2007, 08:38:51 pm by simply sibyl »

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: forum wrapper(integrated with Xtra Smileys code)
« Reply #1 on: August 08, 2007, 06:38:21 pm »
also i will have integration with other codes soon!
if you have a request post it

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #2 on: August 10, 2007, 12:56:55 pm »
any one like it?

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #3 on: August 10, 2007, 01:18:54 pm »
Have not tried it.   

Need to tell them to change this to their forum url and thier name:

<a href="http://rpgamer.prohosts.org/forum/index.php?action=profile;u=1">nitsua </a><br>

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #4 on: August 27, 2007, 03:14:00 pm »
working on v2

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #5 on: August 27, 2007, 03:27:43 pm »
working on v2

If you are going to keep the smileys in v2 would ya please use your own urls for the smileys?
I have to think about bandwidth issues

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #6 on: August 27, 2007, 03:36:39 pm »
oh sure ill add that

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: forum wrapperv1(integrated with Xtra Smileys code)
« Reply #7 on: August 27, 2007, 03:40:16 pm »

Offline Alex

  • SMF For Free Full Member
  • *
  • Posts: 116
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] forum wrapperv1(integrated with Xtra Smileys)
« Reply #8 on: September 22, 2007, 12:17:45 am »
I put this code in my forum and now i can't log into the admin bit.

smf can you delete everything in the header.

I know i put a cbox in there but it worked before so like yeah...

The forum url is
#############################################

HELP!!!!!! please
never mind it's fixed now
« Last Edit: September 22, 2007, 12:23:02 am by A12Alex »
sig coming soon!

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] forum wrapperv1(integrated with Xtra Smileys)
« Reply #9 on: September 22, 2007, 12:08:42 pm »
what happened was it my code?

Offline Alex

  • SMF For Free Full Member
  • *
  • Posts: 116
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] forum wrapperv1(integrated with Xtra Smileys)
« Reply #10 on: September 22, 2007, 08:06:02 pm »
yeah but i edited it a bit so that might be why.

I put the cbox in there :( but it works now :D lol
sig coming soon!

Offline nitsua

  • SMF For Free Member
  • *
  • Posts: 30
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] forum wrapperv1(integrated with Xtra Smileys)
« Reply #11 on: September 23, 2007, 10:17:33 am »
can you give ma a link to your forum i wanted to see a site that uses it.

 

Related Topics

  Subject / Started by Replies Last post
40 Replies
31655 Views
Last post August 09, 2013, 09:30:39 am
by DayXDT
21 Replies
7042 Views
Last post November 11, 2009, 02:23:37 pm
by simply sibyl