Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ Forums Pro: Size of smilie popup


Forums Pro: Size of smilie popup
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

View previous topic :: View next topic  
Author Message
Golem
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Nov 25, 2004
Posts: 336
Location: Germany
PostPosted: Thu Jul 10, 2008 6:08 am
Post subject: Forums Pro: Size of smilie popup

Hi,

i was wondering what file I need to edit in order to increase the size of the popup window for "more smlies" in forums pro. Search does reveal a few results but they all aim at regular forums. It seems to be a bit different for forums pro.

Thanks a lot for any help in advance !


Golem's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.8/MySQL: 4.1.22/PHP: 4.4.8/DF: 9.2.1.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Thu Jul 10, 2008 6:20 am
Post subject: Re: Forums Pro: Size of smilie popup

I haven't viewed the code, but it's likely to have copied DF code which does the same thing when you have several extra smilies.

It is possible to add auto-sizing javascript but even that can be disabled in some browser options (like FF).

Otherwise, it's controlled in includes/nbbcode.php, approx line 149,
PHP:
if ($mode == 'inline' && $num_smilies > $inline_rows * $inline_cols) {
$content .= "<tr align=\"center\">
<td colspan=\"$s_colspan\" class=\"nav\"><a href=\"$url\" onclick=\"window.open('$url', '_smilies', 'height=200,resizable=yes,scrollbars=yes,width=230');return false;\" target=\"_smilies\" class=\"nav\">$smilies_more</a></td>
</tr>"
;
}
(also further up where smilies are used in a single line)


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Golem
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Nov 25, 2004
Posts: 336
Location: Germany
PostPosted: Thu Jul 10, 2008 6:59 am
Post subject: Re: Forums Pro: Size of smilie popup

That was it. Thank you a lot Smile


Golem's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.8/MySQL: 4.1.22/PHP: 4.4.8/DF: 9.2.1.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy