Quick Reply, Characters And Image Links »  Show posts from    to     

Icy Phoenix


Old Docs - Quick Reply, Characters And Image Links



Hakkinen [ Thu 10 Aug, 2006 05:23 ]
Post subject: Quick Reply, Characters And Image Links
Hi

Ok, here I go:

  • How can I show Quick Reply "open" by Default?
  • How to remove the "restriction" when I have some characters on nicks like ä
  • How to remove the image linking, I want the images in posts and signatures but no with the "link" part (open image in new window).


Thanks and regards to all



Mighty Gorgon [ Thu 10 Aug, 2006 10:08 ]
Post subject: Re: Quick Reply, Characters And...
  1. Open templates/ca_aphrodite/xs/xs_toppic.tpl
    FIND
    Code: [Hide] [Select]
    <div id="quick_reply" style="display: none; position: relative; ">

    REPLACE WITH
    Code: [Hide] [Select]
    <div id="quick_reply" style="position: relative;">

    It should work.
  2. Open includes/usercp_register.php
    FIND
    Code: [Hide] [Select]
    if ( !preg_match("/^[a-z0-9&-_ ]+$/i", $username) )

    ADD YOUR CHARS IN THE REGULAR EXPRESSION FOLLOWING THE REGULAR EXPRESSIONS RULES
    Code: [Hide] [Select]
    if ( !preg_match("/^[a-z0-9&-_%£ ]+$/i", $username) )

    Remember that you should not allow other chars, because you may be exposed to security issue... do it at your own risk.
  3. Open includes/bbcode.php
    FIND
    Code: [Hide] [Select]
    $html = '<a href="' . $params['src'] . '" target="_blank" title="' . $lang['OpenNewWindow'] . '">' . $html . '</a>';

    REPLACE WITH
    Code: [Hide] [Select]
    $html = $html;



Your support credit is now over for about a week...


Zuker [ Tue 07 Nov, 2006 16:31 ]
Post subject: Re: Quick Reply, Characters And Image Links
with the new bbcode.php (included con patch .14) the modification of the image link it's the same?

it didn't work for me


Mighty Gorgon [ Wed 08 Nov, 2006 22:52 ]
Post subject: Re: Quick Reply, Characters And Image Links
Zuker wrote: [View Post]
with the new bbcode.php (included con patch .14) the modification of the image link it's the same?

it didn't work for me


Yes, it should work in the same way... try to empty the cache and disable precompiled posts to check.




Powered by Icy Phoenix