Current time: 11-22-2008, 08:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Custom MyCode
08-13-2008, 08:54 PM
Post: #71
RE: Creating Custom MyCode
Need help with part this part of the code:

FlashVars="viewkey=8616c1559ab4221b3910"

the actual link leads to a hidden .flv file.

8616c1559ab4221b3910/127544.flv&viewkey=8616c1559ab4221b3910

how do I create the replacement to include the hidden stuff on a webpage?
Find all posts by this user
Quote this message in a reply
08-13-2008, 08:58 PM
Post: #72
RE: Creating Custom MyCode
(07-06-2008 11:33 AM)lifeguard Wrote:  Ok, thnx Lex!
Is there some MYcode, for google?

So when a user post [google]Mybb[/google], Mybb is a clickable link to googlesearch?

Here is the my Google Mycode. you can use it:

\[google\](.*?)\[/google\]

replacement:

<a href="http://www.google.com/search?q=$1&sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8">$1</a>

Enjoy. Wink
Find all posts by this user
Quote this message in a reply
08-14-2008, 06:35 PM
Post: #73
RE: Creating Custom MyCode
(08-09-2008 03:28 PM)primster7 Wrote:  
(08-09-2008 02:32 PM)imei Wrote:  
(08-08-2008 06:05 AM)primster7 Wrote:  How can I get java script to work with mycode?

I heard that as a default mybb changed the script code to something else.

Is there a workaround that is still secure?

As a security prevention manner, it strongly recommended that any JS related things should not be made with user outputs unless it properly and accurately validated. So I also recommend you to leave this feature unless you knew that what are you doing.

I'm willing to take the chance. How do I get around this and get javascript to work in a post?
PTRN:\[script\](.*?)\[/script\]
RPLCMNT:<script>$1</script>
IT IS NOT SECURE AND STRONGLY RECOMMENDED NOT TO USE IT.

(08-13-2008 08:54 PM)primster7 Wrote:  Need help with part this part of the code:

FlashVars="viewkey=8616c1559ab4221b3910"

the actual link leads to a hidden .flv file.

8616c1559ab4221b3910/127544.flv&viewkey=8616c1559ab4221b3910

how do I create the replacement to include the hidden stuff on a webpage?
need more info please.

[Image: header.jpg]
ُPersian MyBBoard , Translations, Plugins , Mods, Themes, Templates,...
Visit this user's website Find all posts by this user
Quote this message in a reply
08-14-2008, 06:42 PM
Post: #74
RE: Creating Custom MyCode
Imei - I sent you a PM.
Find all posts by this user
Quote this message in a reply
10-20-2008, 10:10 PM (This post was last modified: 10-20-2008 11:42 PM by seeker.)
Post: #75
RE: Creating Custom MyCode
This thread helps..
Can someone please, show any example of using an 'available' MyBB variable in custom MyCode?

Thank you

Edit: Can't be done / requires a plugin.

Heart MyBB is the best forum software!
>>>> What Is Getting Left Behind? Lightbulb
Please, Help Build A List Of Useful Plugins Needing Updates.
<<<<
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: