Quick Reply, Characters And Image Links


Subject: Quick Reply, Characters And Image Links
Hi :D

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 :mry:

:mrgreen:

Profile PM  
Subject: Re: Quick Reply, Characters And...
  1. Open templates/ca_aphrodite/xs/xs_toppic.tpl
    FIND
    Code: [Download] [Hide] [Select]
    <div id="quick_reply" style="display: none; position: relative; ">

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

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

    ADD YOUR CHARS IN THE REGULAR EXPRESSION FOLLOWING THE REGULAR EXPRESSIONS RULES
    Code: [Download] [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: [Download] [Hide] [Select]
    $html = '<a href="' . $params['src'] . '" target="_blank" title="' . $lang['OpenNewWindow'] . '">' . $html . '</a>';

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



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

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 :roll:

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 :roll:


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


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0648s (PHP: 27% SQL: 73%)
SQL queries: 10 - Debug Off - GZIP Enabled