Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic YaBB in Iframes (Read 2786 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
YaBB in Iframes
Jul 4th, 2014 at 2:28pm
Mark & QuoteQuote  
YaBB in Iframes 2.6.0

This mod allows the admin to choose whether or not to allow their YaBB forum to appear in an iframe. (The 2.6.0 default is to break out of iframes.)

Version History
---------------
0.1 alpha - First release - July 4, 2014

For YaBB 2.6.0

Instructions:
Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/NewSettings.pm
cgi-bin/yabb2/Admin/Settings_Main.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Sources/Subs.pm
cgi-bin/yabb2/Templates/default/default.html
« Last Edit: Jul 4th, 2014 at 9:27pm by Dandello »  

yabbiniframe_260_01.zip ( 1 KB | 144 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: YaBB in Iframes
Reply #1 - Jul 4th, 2014 at 8:57pm
Mark & QuoteQuote  
Code
Select All
<add above>
         {
             description => qq~<label for="in_iframe">$admin_txt{'in_iframe'}</label>~,
             input_html => qq~<input type="checkbox" name="in_iframe" id="in_iframe" value="1"${ischecked($in_iframe)} />~,
             name => 'in_iframe',
             validate => 'boolean',
         },
 </add above> 



Somehow it does not work. I can install the German files without problems, but not the English.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: YaBB in Iframes
Reply #2 - Jul 4th, 2014 at 9:26pm
Mark & QuoteQuote  
I really shouldn't be testing mods when I'm exhausted   Embarrassed - new file in first post.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: YaBB in Iframes
Reply #3 - Jul 5th, 2014 at 6:33am
Mark & QuoteQuote  
Code
Select All
<edit file>
 Languages/German/Admin.lng
 </edit file>

 <search for>
 );

 %floodtxt = (
 </search for>

 <add before>
 'in_iframe' => 'Wollen Sie ihr Forum als iframe einbinden? (Anmerkung: Dies erlaubt anderen Webseiten, <b>Ihr</b> Forum in <b>deren</b> Seite einzubinden).',
 </add before> 






Code
Select All
<edit file>
 Languages/German_Du/Admin.lng
 </edit file>

 <search for>
 );

 %floodtxt = (
 </search for>

 <add before>
 'in_iframe' => 'Willst Du Dein Forum als iframe einbinden? (Anmerkung: Dies erlaubt anderen Webseiten, <b>Dein</b> Forum in <b>deren</b> Seite einzubinden).',
 </add before> 

  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: YaBB in Iframes
Reply #4 - Oct 22nd, 2014 at 8:37pm
Mark & QuoteQuote  
The code this mod disables to has been removed in later versions of 2.6.1 - it created major problems when trying to view templates in the AdminCenter.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
YaBB in Iframes

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 10000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry