vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Spoiler - iPhone Theme !!!!! (https://vborg.vbsupport.ru/showthread.php?t=256011)

orange gold 12-26-2010 10:00 PM

Spoiler - iPhone Theme !!!!!
 
1 Attachment(s)
**last updated December 28, 2010**


PLEASE PLEASE PLEASE LEAVE FEEDBACK.. AND MARK AS INSTALLED IF YOU USE IT! :D

Download the attached swf file ("ipspoiler.swf") and upload it to your site under the forum's image folder... The final URL of the attached file should be .../forums/images/ipspoiler.swf

Go to the admin CP and go to BBCode then add a new bbcode...

Title:
Code:

iPhone Spoiler
BBCode Tag Name:
Code:

ipspoiler
Replacement:
Code:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase=""http://macromedia.com/cabs/swflash.cab#version=6,0,0,0""
 WIDTH="800" HEIGHT="124" id="flaMovie1" ALIGN="CENTER">
 <PARAM NAME=movie VALUE="/forums/images/ipspoiler.swf">
 <PARAM NAME=FlashVars VALUE="var1={param}">
 <PARAM NAME=quality VALUE=high>
 <PARAM NAME=bgcolor VALUE=#FFFFFF>
 <PARAM NAME="wmode" value="transparent">
 <embed src="/forums/images/ipspoiler.swf" FlashVars="var1={param}"
  quality="high" bgcolor="#FFFFFF" WIDTH="800" HEIGHT="124"
  NAME="flaMovie1" ALIGN TYPE="application/x-shockwave-flash"
  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent">
</OBJECT>

Example:
Code:

[ipspoiler]Hide your text in here...[/ipspoiler]
Description:
Code:

Uses a spoiler in iPhone style.
Use {option}:
Code:

No.
Disable BB Code Within This BB Code:
Code:

Yes.
Disable Smilies Within This BB Code:
Code:

Yes.
Leave everything else at their default settings...
ENJOY!!!!!
~Orange Gold

Quote:

Originally Posted by Krusty1231 (Post 2140528)
Attached it a small public image to use with button image if you so choose. Thanks for the mod.
https://vborg.vbsupport.ru/attachmen...1&d=1293607438



.
.

Dadoo 12-27-2010 10:46 PM

Installed !

Nice effect, i like it :-)

However, there is a small unattended move when sliding the bar. she goes up and down a little, can you fix that unpleasant feeling of "cheap product" ?

OldSchoolDSL 12-27-2010 10:48 PM

Installed and working on 4.1 PL2

No issues :)

I personally changed the code though so my community members did not have to type out ipspoiler, but rather just ispoiler

orange gold 12-27-2010 10:49 PM

Quote:

Originally Posted by finereader (Post 2139853)
However, there is a small unattended move when sliding the bar. she goes up and down a little, can you fix that unpleasant feeling of "cheap product" ?


I added that on purpose! haha Because that is how the iPhone does it.. if you slide almost all the way it finishes the slide for you and if you slide like half way then let go it sends it back to the start.. :P

OldSchoolDSL 12-27-2010 10:51 PM

Quote:

Originally Posted by orange gold (Post 2139857)
I added that on purpose! haha Because that is how the iPhone does it.. if you slide almost all the way it finishes the slide for you and if you slide like half way then let go it sends it back to the start.. :P

I noticed it and liked the idea. Gave it more of an iPhone feel.

It will also help prevent "cyber bots" from activating things.

orange gold 12-27-2010 11:11 PM

Haha... Thank-you.. unfortunately I think that the cyber bots will read the source code to get the text.. however.. I do believe that since the text is in a param flashvars tag that they willn't be able to interpret if for a search engine anyways :P

OldSchoolDSL 12-27-2010 11:36 PM

Quote:

Originally Posted by orange gold (Post 2139865)
Haha... Thank-you.. unfortunately I think that the cyber bots will read the source code to get the text.. however.. I do believe that since the text is in a param flashvars tag that they willn't be able to interpret if for a search engine anyways :P

Search engines are good and I'm not worried about those.

Juggernaut 12-27-2010 11:52 PM

Any way to translate the "Slide to unlock" button?

ND4SPD 12-27-2010 11:55 PM

Is it ironic that it requires flash?

orange gold 12-28-2010 12:18 AM

Flash was the most efficient way to get the animation working properly..
Also, I can translate it into other languages for you if you would like... Can you give me the text you want displayed and I will copy and paste it into the animation?

Juggernaut 12-28-2010 12:34 AM

Quote:

Originally Posted by orange gold (Post 2139896)
Flash was the most efficient way to get the animation working properly..
Also, I can translate it into other languages for you if you would like... Can you give me the text you want displayed and I will copy and paste it into the animation?

Thank you, can it say "mueve para ver"

ND4SPD 12-28-2010 12:51 AM

Can you leave the text less flashy and just have it match whatever style the forum is running?

orange gold 12-28-2010 01:08 AM

1 Attachment(s)
Quote:

Originally Posted by Juggernaut (Post 2139903)
Thank you, can it say "mueve para ver"

Here you go: attached..

Also, for the other person.. unfortunately I can-not make it fit the forums style because I do not know how to fetch those variables from the forum and import them into flash.. Maybe int he future though when I learn more..

Juggernaut 12-28-2010 01:11 AM

Quote:

Originally Posted by orange gold (Post 2139921)
Here you go: attached..

Also, for the other person.. unfortunately I can-not make it fit the forums style because I do not know how to fetch those variables from the forum and import them into flash.. Maybe int he future though when I learn more..

Thank you sir, marked as installed :D

Dadoo 12-28-2010 02:33 AM

Quote:

Originally Posted by orange gold (Post 2139857)
I added that on purpose! haha Because that is how the iPhone does it.. if you slide almost all the way it finishes the slide for you and if you slide like half way then let go it sends it back to the start.. :P

Sorry for the misunderstanding but i wasn't talking about horizontal scrolling, but about the little vertical scrolling :-)

Seems like frame is oversized because on my iPhone the only move i can do is left <-> right, not up and down :-)

This is on purpose too ?

orange gold 12-28-2010 03:07 AM

Ah! Yes I can fix that! haha I made it so that the whole thing follows your mouse and then the y value is reset every frame.. I could just code it to only follow the x position of the mouse.. I'l do it after we are done playing cards ahha.. Don't worry, it will be up very soon! It will only take a minute to change the code. But for now I have to go.

orange gold 12-28-2010 02:27 PM

I fixed the slider issue, the new downloadable file is on the first post.. Thankyou!

Dadoo 12-28-2010 02:35 PM

Thanks to you Orange Gold :-)

AURFSCAN 12-28-2010 05:25 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2139854)
Installed and working on 4.1 PL2

No issues :)

I personally changed the code though so my community members did not have to type out ipspoiler, but rather just ispoiler


what about iHide :p


tagged and thx

lubbie 12-28-2010 08:05 PM

Nice one. The slider is a bit...Oversized

RK KINGKONG 12-28-2010 11:54 PM

how can i add this mod to lets say the eidtor bar like when making a new thread or post as a button with an image , ? i can make the image not a problem

NICE MOD BRO REALLY NICE THANK YOU

orange gold 12-29-2010 12:25 AM

When you are adding the BBCode it says this option:
Button Image (Optional):

Make a 21x20 pixel image and upload it.. then copy and paste the url into there and hit save.

RK KINGKONG 12-29-2010 12:39 AM

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

im getting this message with the option to continue or go back once i try to save it , any help ?
sorry Juggernaut ,I warned you im a noob LOL

Also im tyring to add the option to the editor is it possible ? I know how to add an image to the proper directory

RK KINGKONG 12-29-2010 12:55 AM

my only issue now is like an error message with the option to go back or continue , but if i hit continue when i go n use it ,i preview the post it says its too short even when i type more than 25 characters in there , i want this so bad but its not working out for me .. im a total noob but these instructions are pretty simple what im i doing wrong or is it even me ??
Quote:

Originally Posted by orange gold (Post 2140419)
When you are adding the BBCode it says this option:
Button Image (Optional):

Make a 21x20 pixel image and upload it.. then copy and paste the url into there and hit save.


OldSchoolDSL 12-29-2010 01:58 AM

Quote:

Originally Posted by RK KINGKONG (Post 2140423)
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

im getting this message with the option to continue or go back once i try to save it , any help ?
sorry Juggernaut ,I warned you im a noob LOL

Also im tyring to add the option to the editor is it possible ? I know how to add an image to the proper directory

I got your PM and although this isn't my Mod... It's an easy thing to address.

You will get that HTML warning when adding the code. Ignore the warning and proceed. It's a small bug in 4.1 PL2 (false positive).

Make sure you have uploaded ipspoiler.swf

You may also need to edit the code a little.

/forums/images/ipspoiler.swf

The bold text should point to your forum root.

RK KINGKONG 12-29-2010 02:18 AM

ok well , i dont know what to change the directory too if i change whats there , like i tried just putting the swf into my forum root , but i wouldnt know what to name it ...
the other issue is when i dont chose the option to add it as an editor button in my forums , i see the html coding in the bb code manager , but when i do chose that option it makes the mtml coding go away but adds the button .. however it cant work without its html code .. i dont know i feel like giving up but then again i want to make this work , my IM AIM is : xaogxzeus or MSN : righteouskings@hotmail.com if anyone is willing to work this out with me .... sorry for the lack of knowledge

RK KINGKONG 12-29-2010 03:15 AM

1 Attachment(s)
well after alot of trial and error ill explain how i got it to work if any other noob has an issue like myself :

1st: I edited the HTML code changed it to point towards: <embed src="/images/ipspoiler.swf"
because I couldnt find a :<embed src="/forums/images/ipspoiler.swf"

then i put the ipspoiler.swf file into the images folder of my root ..

2nd : if you try to select to : Use {option} to add to the editor tool bar it for some weird reason saves but takes out the HTML code , so i just left it as no and when i hit save i got another weird message i just ignored n continued .

i now have it in my eidtor toolbar , though i dont know how if the option to do so is set to no .
cause when you set it to yes , instead of it displaying the slider in the replacement box it shows this :[ipspoiler]Hide your text in here...[/ipspoiler]

and where its suppose to still show the HTML code still it now shows this again : [ipspoiler]Hide your text in here...[/ipspoiler] while in the {BB code manager}

example 1 shows it set to not place as a button in the editor toolbar
example 2 shows it set to appear in the editor toolbar
that was my issue the html coding goes away when you select the yes option to set it as a button

orange gold 12-29-2010 04:48 AM

use {option} does not mean it puts it in your toolbar...
Option is a value in bbcode..

Example:
[BBCode={option}]{Param}[/BBCode]

You need to have ti go to the images folder on your forums

So if your forums URL is /forums/images or whatever that is right.. It may be /forum or /index/images
What ever you set it to when you created the forum.

The "use {option}" needs to be set to NO.

Please let us know if this is now working.
Thankyou

RK KINGKONG 12-29-2010 04:56 AM

THANK YOU , your mod is awesome , the fact that i have still no clue about /forum/images/ ? whatever . lol i was looking for a forums folder in the root . since i could not i just changed the image path . and thank you for letting me know this because i thought the option to pick yes was to add the button lol . so now , i know better .it works awesome now on VB 4.1 patch 2 like a charm
keep up the great work. long story short , I have no knowledge what so ever about any of this , I was thrown into this when the guy whom set up my site left to the military . this is a crash course for me , the lil i have learned has been through the gentlemen here explaining to me like , im special ed thats fine . thanks again
Quote:

Originally Posted by orange gold (Post 2140517)
use {option} does not mean it puts it in your toolbar...
Option is a value in bbcode..

Example:
[BBCode={option}]{Param}[/BBCode]

You need to have ti go to the images folder on your forums

So if your forums URL is /forums/images or whatever that is right.. It may be /forum or /index/images
What ever you set it to when you created the forum.

The "use {option}" needs to be set to NO.

Please let us know if this is now working.
Thankyou


Krusty1231 12-29-2010 05:25 AM

1 Attachment(s)
Installed and working. VB 4.0.8

Attached it a small public image to use with button image if you so choose.

Thanks for the mod.

orange gold 12-29-2010 12:01 PM

Glad you like it! :)

CMSTemplateZ 12-29-2010 12:53 PM

Very Nice :)

conchemimare 12-29-2010 03:09 PM

Amazing, thanks mate!

RK KINGKONG 12-29-2010 03:24 PM

Quote:

Originally Posted by orange gold (Post 2140657)
Glad you like it! :)

Is there any way to change the colors of the glow affect? I want to make it yellow or green.

orange gold 12-29-2010 06:34 PM

What is "flowers" effect?

RK KINGKONG 12-29-2010 06:54 PM

LMAO WOW , i meant to say the glow behind the message , sorry i was on my phone half asleep
Quote:

Originally Posted by orange gold (Post 2140883)
What is "flowers" effect?


orange gold 12-29-2010 08:35 PM

1 Attachment(s)
Green and yellow: attahced! (When instaling a new bbcode swf file you may have to refresh the page once or twice before it starts working on your screen due to cookies.. But it will work I promise, just maybe not immediatley, it may take 1 or 2 min to switch.)

RK KINGKONG 12-30-2010 02:56 AM

THANK YOU much however if in the future i want to change it my self , I have to edit the .swf file then for the glow color ? correct ?

OldSchoolDSL 12-30-2010 02:57 AM

Quote:

Originally Posted by RK KINGKONG (Post 2141140)
THANK YOU much however if in the future i want to change it my self , I have to edit the .swf file then for the glow color ? correct ?

yes

orange gold 12-30-2010 01:29 PM

Quote:

Originally Posted by RK KINGKONG (Post 2141140)
THANK YOU much however if in the future i want to change it my self , I have to edit the .swf file then for the glow color ? correct ?

You actually have to edit the fla, not the swf.. And I didn't give anyone the fla haha... You could convert the swf to an fla with a converter.. or I could just post the fla here... but do you have flash?


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01452 seconds
  • Memory Usage 1,839KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete