Current time: 03-19-2010, 11:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 4 Votes - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Custom MyCode
06-20-2008, 05:09 PM
Post: #51
RE: Creating Custom MyCode
Thank you, its now working in custom pages, however its stopped me from using html in them now. Is there a way to get the use of html back and using the [name] tag. Also is it possible to have it working on forum names, and thread titles, I have just checked, it only worked in posts.

Thanks Rob
Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2008, 05:15 PM
Post: #52
RE: Creating Custom MyCode
Will install the plugin and see what i can do;

Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2008, 05:15 PM (This post was last modified: 06-20-2008 05:33 PM by Rob1991.)
Post: #53
RE: Creating Custom MyCode
Awesome, thank you very much.

Got to restart my pc, been meaning to do that all day ;]
Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2008, 05:28 PM
Post: #54
RE: Creating Custom MyCode
Change the line into;

PHP Code:
        $pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes''allow_mycode' => 'yes')); 

Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2008, 07:12 PM
Post: #55
RE: Creating Custom MyCode
(06-20-2008 05:28 PM)LeX- Wrote:  Change the line into;

PHP Code:
        $pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes''allow_mycode' => 'yes')); 

Once again, amazing, thank you. Now both html and my [name] tags are comming up. If i could finally ask one more thing however. Is it possible to have the [name] working in thread names and forum names? i know they work in posts.

Thanks,
Rob
Visit this user's website Find all posts by this user
Quote this message in a reply
06-24-2008, 09:16 AM
Post: #56
RE: Creating Custom MyCode
I am now having trouble where on my twitter and plurk pages where i have put the scripts to show them such as

<script type="text/javascript" src="http://www.plurk.com/static/widget/plurkwidget.js?user_id=297930&height=300&interval=10"></script>

Do no longer show up Sad can that second line be edited further to make it work for all code, scripts ect ?
Visit this user's website Find all posts by this user
Quote this message in a reply
06-24-2008, 07:20 PM (This post was last modified: 06-24-2008 07:22 PM by Ooka.)
Post: #57
RE: Creating Custom MyCode
Could I get some help with one?

I was to make a tag for CSS, so that [div style=""] is the tag, and the user can add things like border: 2px solid; or something like that. And then of course you end it with [/div style]
Find all posts by this user
Quote this message in a reply
06-26-2008, 03:19 PM
Post: #58
RE: Creating Custom MyCode
This may, or may not, work.

Code:
\[div\ style=(.*?)\](.*?)\[/div\]

Replace to:
Code:
<div style="$1">$2</div>

[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2008, 11:40 PM
Post: #59
RE: Creating Custom MyCode
(06-26-2008 03:19 PM)MrDoom Wrote:  This may, or may not, work.

Code:
\[div\ style=(.*?)\](.*?)\[/div\]

Replace to:
Code:
<div style="$1">$2</div>


thank you Exclamation

I´ve never figured out this feature and its so easy to use

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
06-28-2008, 08:54 AM
Post: #60
RE: Creating Custom MyCode
(06-20-2008 07:12 PM)Rob1991 Wrote:  
(06-20-2008 05:28 PM)LeX- Wrote:  Change the line into;

PHP Code:
        $pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes''allow_mycode' => 'yes')); 

Once again, amazing, thank you. Now both html and my [name] tags are comming up. If i could finally ask one more thing however. Is it possible to have the [name] working in thread names and forum names? i know they work in posts.

Thanks,
Rob
(Posted again, seems my post was ignored ;[)

I am now having trouble where on my twitter and plurk pages where i have put the scripts to show them such as

<script type="text/javascript" src="http://www.plurk.com/static/widget/plurkwidget.js?user_id=297930&height=300&interval=10"></script>

Do no longer show up Sad can that second line be edited further to make it work for all code, scripts ect ?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: