News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

ezPortal

Started by SMFHacks.com Team, November 02, 2008, 10:10:03 AM

Previous topic - Next topic

Shades.

Quote from: vbgamer45 on August 29, 2021, 10:33:59 AMCan you try the latest update and see if it makes a difference.
Update seems to have fixed my issue thanks!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

Version: 2.1 RC4
browser: chrome

Started adding Pages but the Show/Hide TinyMCE Editor doesn't seem to work

Also then working with Blocks The Disable TinyMCE when adding/editing html ezBlock Doesn't seem to work As have ticked it but nothing is chenged when viewing blocks.

Also the width of the pages editor is set too wide please see image

You cannot view this attachment.

vbgamer45

Update!

5.1.4
+Enable/disable block now added on Add/Edit ezBlock For SMF 2.0,2.1
!Fixed enable/disable TinyMCE on Add/Edit Page  SMF 2.1
!Improve the width on the add/edit page and add/edit block on SMF 2.1
+New icon in the admin center menus for SMF 2.1


@mickjav this update should fix your issues.

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

Quote from: vbgamer45 on October 02, 2021, 10:20:54 PMUpdate!

5.1.4
+Enable/disable block now added on Add/Edit ezBlock For SMF 2.0,2.1
!Fixed enable/disable TinyMCE on Add/Edit Page  SMF 2.1
!Improve the width on the add/edit page and add/edit block on SMF 2.1
+New icon in the admin center menus for SMF 2.1


@mickjav this update should fix your issues.



Thanks I'll download now

mickjav

Works a treat thanks

vbgamer45

Critical update if you had installed 5.1.4! for SMF 2.0.x and SMF 1.1.x

5.1.5
!Hotfix for adding/editing html blocks if you had installed 5.1.4! for SMF 2.0.x and SMF 1.1.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

Hotfix
5.1.5a
!Hotfix for adding/editing pages if you had installed 5.1.4/5.15! for SMF 2.0.x and SMF 1.1.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

Update

5.2
!Fixes to responsive layout for blocks for SMF 2.0
!Minor optimizations
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vbgamer45

Update!

5.3
+New sticky column setting. You can now make a column sticky for SMF 2.1.x and SMF 2.0.x
To do this go to ezBlock Manager then click on the "Edit Column" link next to the column name to change the setting.
A sticky column means it will stay at the top of the page even if you scroll down on a page with a lot of content.
Useful to keep a sidebar always visible and easy to access.
!Fixed unclosed classname SMF 2.0.x on block display
!Fixed admin area column collapsed checked html
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

I have a block set to display center on my forum which contains a Amazon ad.

I have been trying to add a image link to left but only displaying the image link when the /albums-database/ board is displayed.

I found this and tried to adapt it but still a bit above my level.

<?php
// PHP program to find certain substring in an URL
  
// Given URL
$url 'https://www.geeksforgeeks.org/gfg/index';
  
// Search substring 
$key 'gfg';
  
if (
strpos($url$key) == false) {
    echo 
$key ' not exists in the URL <br>';
}
else {
    echo 
$key ' exists in the URL <br>';
}

?>

Mick

mickjav

Also tried

<div>  <script type="text/javascript">
        $(document).ready(function () {
            if(window.location.href.indexOf("albums-database") > -1)
            {
                 <p>your url contains the name franky</p>
            }
        });
    </script></div>

vbgamer45

Javascript could work if you have jquery already setup on the site.

PHP side is easier for me to code though.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

Personally I would prefer PHP As that's what I'm trying to learn or want to lol

Does PHP Work in a block??

thanks mick

vbgamer45

Yes PHP works in a  block
$_SERVER['REQUEST_URI']  contains the url
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav


mickjav

Done this

<div>
<?php
$url 
$_SERVER['REQUEST_URI'];
  
// Search substring 
$key 'albums-database';
  
if (
strpos($url$key) == false) {
    echo 
$key ' not exists in the URL <br>';
}
else {
    echo 
$key ' exists in the URL <br>';
}
?>

</div>

But getting this error

'; } else { echo $key . ' exists in the URL
'; } ?>

vbgamer45

Try this without the php tags

$url = $_SERVER['REQUEST_URI'];
 echo '<div>';
// Search substring
$key = 'albums-database';
 
if (strpos($url, $key) == false) {
    echo $key . ' not exists in the URL <br>';
}
else {
    echo $key . ' exists in the URL <br>';
}
echo '</div>';


Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

Sorry didn't work see attached image, I have checked the available blocks with only the HTML Being useable for code entry

vbgamer45

Did you check the php code option for the block itself?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: