vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Scrollable smilies (https://vborg.vbsupport.ru/showthread.php?t=52952)

FASherman 05-14-2003 05:29 PM

Scrollable smilies
 
1 Attachment(s)
I had just finished installing the post icon dropbox hack and read all of the requests for something similar for smilies. I don't like the "get more" function, because I have to turn off pop-up protection to make it work.

So how do you display 100+ smilies in a manageable way?

Here's the answer.

****This is personal preference - feel free to experiement *****
1. In ACP, set 'Clickable Smilies per Row' to 6
2. Set 'Clickable Smilies Total' to a ridiculously large number like 999
************************************************** *

Edit vbcode_smilies and replace the entire contents with:

Code:

<table align="center" border="0" cellpadding="0" cellspacing="0" style="table-layout: fixed; width: 242; height:300; overflow: scroll;">
  <tr>
    <td style="font-family: arial; font-size: 12px; border: 1px inset" align="middle" bgColor="#dae9ec">
    <font class="sf" face="verdana,arial,helvetica" size="1"><b>Smilies</b></font></td>
  </tr>
  <tr height="242">
    <td width="242" height="300">
    <div style="OVERFLOW: scroll; WIDTH: 242px; HEIGHT: 300px">

<table cellpadding="3" cellspacing="1" border="0" align="center" bgcolor="#13486D">

$smiliebits

</table>


    </td>
    </div>
  </tr>
$vbcode_smilies_getmore
</table>

Here's the obligatory screen shot

Rose 05-14-2003 05:30 PM

Pretty nifty trick! :D

mlevenson 05-14-2003 11:12 PM

hey I like it installed

filburt1 05-14-2003 11:16 PM

Yes, for once a decent use for an iframe :)

Kars10 05-15-2003 07:35 AM

Cool Trick!
But won?t work for me. The i-frame loads but no content?
Something wrong with your code? :confused:

Thanks
Kars

corsacrazy 05-15-2003 07:37 AM

i frames dont werk on all browsers :(

MindTrix 05-15-2003 06:45 PM

Super Super Super Sweeeeeeet

Dean C 05-16-2003 05:49 AM

Yea pretty nifty :)

- miSt

Tony G 05-16-2003 12:36 PM

Indeed. Nice work.

FASherman 05-17-2003 05:06 PM

Here's an update. Replace vbcode_smiles with:

Code:

<table border="0" align="center" bgcolor="{firstaltcolor}" style="table-layout: fixed; WIDTH: 250px;">   
  <tr>
    <td align="center" bgColor="{secondaltcolor}">
    <smallfont><b>Smilies</b></smallfont></td>
  </tr>
</table>

<div style="width: 250px; height:320px; overflow: auto;">
<table border="0" align="center" bgcolor="{firstaltcolor}" style="table-layout: fixed; WIDTH: 250px; HEIGHT: 310px; OVERFLOW: scroll">   
$smiliebits
</table>
</div>

That should fix the problem for those who had no content.

Kars10 05-17-2003 06:00 PM

@ fasherman, yes it works now. :)

Thanks
Kars

corsacrazy 05-17-2003 06:00 PM

^ which browsers wont this work on ?

dano 05-22-2003 05:21 PM

I love this mod and it works, but for some reason when you first load up the repl page, the bottom part of the scroll is not showing.

If you hit refresh it appears, but its not there at first. Any idea what could be doing this?

dano 05-26-2003 08:14 PM

I have some oversized smilies and have tried to adjust the table 1000 times, does anyone have any idea of how I can fix this?

It works, I just have to hit refresh to see the smilies correctly.

dano 06-13-2003 09:42 PM

^

Anyone?????

cirisme 06-13-2003 10:14 PM

Aye, I've been found out. ;) But, this isn't technically an iframe, although the results are basically the same.

Oh, and my smilies bar is cached. :)

dano 06-15-2003 09:29 PM

Quote:

05-22-03 at 07:21 PM dano said this in Post #13
I love this mod and it works, but for some reason when you first load up the repl page, the bottom part of the scroll is not showing.

If you hit refresh it appears, but its not there at first. Any idea what could be doing this?

Does anyone have a solution for this?

xug 07-17-2003 12:59 AM

Quote:

06-15-03 at 06:29 PM dano said this in Post #17
Does anyone have a solution for this?
Anyone?

Is there not a trick to make the frame static or so?

kimbers 07-23-2003 05:50 AM

Thanks FASherman!! Your Hack rulez!!! :D

Shuriken-UK 07-23-2003 09:27 PM

1 Attachment(s)
Ok i hope you dont mind but I took the liberty of making this more conforming to vbulletin, you had your own colours for it which dont look good on all boards, so I modified it for vbulletin usage, using the boards alternating colors instead of your hex values :)

I also fixed the smiley table going to the left

MaDCaT75 08-10-2003 11:02 PM

Doesnt work for me.

duncan99 08-18-2003 12:08 PM

Quote:

<center>
<table border="2" align="center" bgcolor="#F1F1F1" style="table-layout: fixed; WIDTH: 250px;">
<tr>
<td align="center" bgColor="#DFDFDF">
<smallfont><b>Smilies</b><br>
Total $totalSmilies smiles [<a href="javascript:opensmiliewindow(240,280,'$sessio n[sessionhash]')">Get
More</a>]</smallfont>
</tr>
</table>
<div style="width: 250px; height:260px; overflow: auto;">
<table border="0" bgcolor="#F1F1F1" style="table-layout: fixed; WIDTH: 250px; HEIGHT: 260px; OVERFLOW: scroll">
$smiliebits
</table>
</div>
</center>
This code works for me, test it already.
Hope it helps.

pjgoncalves 08-20-2003 02:00 AM

it works for me, tks!

[high]* pjgoncalves using vBB 2.3.0, Opera 7.11 and IE6.
[/high]

Quote:

08-18-03 at 02:08 PM duncan99 said this in Post #22
This code works for me, test it already.
Hope it helps.


BrendonW 09-04-2003 02:57 AM

Where is vbcode_smilies located?

halo 09-13-2003 11:09 PM

resize the table link or put like 3 smilies per row or soming like that... dont really know tho

TSN 09-14-2003 04:47 AM

Can someone show where to edit vbcode_smilies?

mzlogical 09-29-2003 02:27 PM

^ it's almost to the bottom. VB organizes the templates in ABC order.


-------------


works perfectly on vb 2.3.2 :)

THANKS!

xug 10-03-2003 09:27 AM

Any solution on the static part, I still have often that the iframe shows up only a part and sometimes it shows up normal as it should be.
Any help is highly appreciated.

Rezin 11-26-2003 06:27 PM

Nope, I get the same stuff. scroll bars only half show up etc............. I'd love to have this as a working hack!

kneesparx 12-20-2003 05:37 PM

Quote:

Originally Posted by corsacrazy
i frames dont werk on all browsers :(

im curious aswell which browsers?

kneesparx 12-20-2003 05:39 PM

what is the post icon dropbox hack??

MindTrix 12-20-2003 06:27 PM

Basically when making a new thread, at the top you have a table with icons you can choose to appear next too your thread title. The post icon dropbox hack basically puts all of those icons into one simple drop down box.

kneesparx 12-20-2003 06:55 PM

Quote:

Originally Posted by MindTrix
Basically when making a new thread, at the top you have a table with icons you can choose to appear next too your thread title. The post icon dropbox hack basically puts all of those icons into one simple drop down box.

sounds great, ive tried a search for it but had no luck is the hack here on vbulletin.org?

MindTrix 12-20-2003 07:14 PM

Indeed it does, but i have never found it on this site myself so i personally dont believe it is on here. Maybe its over at www.vbulletintemplates.com ?

Aaron RV 03-06-2004 05:51 AM

:( not run whit Version 2.3.2 :cry:


All times are GMT. The time now is 09:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01706 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete