News:

Join the Facebook Fan Page.

Main Menu

ezPortal

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

Previous topic - Next topic

mickjav

Can't see a option for that have checked my 2.0.18 which is were I'm working at moment and my support forum which if 2.1 RCA, Goth have same options.

In the installed blokes list there is a column for options which seems unused on both my installs

I'm of to work now will pick this up in 9hrs thanks


vbgamer45

Oops you have to use a PHP ezBlock if you are adding PHP code
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 havent got one in my list is it a mod I need to add thanks

vbgamer45

Block should be there now I had to add it since on createaforum I had that disabled.
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

Thanks Your A star As Always.

mickjav

As A Bonus I have been able to get my artists banners attached to there galleries It's only A Temp fix until I get more confident with PHP/MYSQL

Miley Cyrus

Plus the toyah banner at present there are only 3 artists so can get away with it.

Shades.

How do I get rid of the collapse arrows on top left of portal? I have unchecked "User can collapse this ezBlock" on all block but the two arrows up top are still there! I have it installed on another site and no arrows so I'm sure I missed something somewhere lol! :o

(Tried to upload an attachment image but got errors)
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

You have to also click the option under each column
Click on the edit column link in the block section.
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

Shades.

Thanks! Been a while since I messed with the settings and totally forgot about that! 8)
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

Shades.

Went in to edit blocks to uncheck the collapsible check box and got these errors in admin but everything seems to be working:

QuoteError
Type of error
General
Error message
2: implode(): Invalid arguments passed
File
/home2/*****/public_html/*****/Sources/EzPortal2.php
Line
1002
URL of page causing the error
https://*****.com/index.php?action=ezportal;sa=editblock2

Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: implode()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 1002
#2: EzPortalEditBlock2()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 123
#3: EzPortalMain()
Called from /home2/*****/public_html/*****/index.php on line 187

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined offset: 11
File
/home2/*****/public_html/*****/Sources/EzPortal2.php
Line
1002
URL of page causing the error
https://*****.com/index.php?action=ezportal;sa=editblock2

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 1002
#1: EzPortalEditBlock2()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 123
#2: EzPortalMain()
Called from /home2/*****/public_html/*****/index.php on line 187
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

Will take a look and see what I can figure out.
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

Think fixed for next update. Looks like just an issue with some blocks for multiselect boards if nothing is set yet.
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

Hi Just Updated a couple of blocks these being the Galleries and Links headers but wondering if a need all the global items as below just for getting the $Cat

Gallery
global $txt, $smcFunc, $scripturl, $modSettings, $subcats_linktree, $user_info, $context, $gallerySettings;

if (isset($_REQUEST['cat']))
{
$cat = (int) $_REQUEST['cat'];
}

Links
global $context, $mbname, $txt, $smcFunc, $scripturl, $modSettings;

if (isset($_REQUEST['cat']))
{
$cat = (int) $_REQUEST['cat'];
}

Arantor

$_REQUEST is automatically global everywhere, no need to add it to anything.

mickjav

Quote from: Arantor on December 31, 2021, 08:19:52 AM$_REQUEST is automatically global everywhere, no need to add it to anything.

Sorry I meant this part as not sure what I can and can't remove

global $context, $mbname, $txt, $smcFunc, $scripturl, $modSettings;

mickjav

Sorted Decided to delete the global line seems to work without it

Arantor

Well, it doesn't hurt to leave it in, but if the rest of the function needs those things, you'll need that line. Each item in the list is 'I need this for my block'... if you don't need it, you can skip including it.

mickjav

Its only a if else statement doesn't use anything else to do its job.

https://www.databasedreams.co.uk/charts/index.php?action=gallery;cat=21


https://www.databasedreams.co.uk/charts/index.php?action=links;cat=8

As I learn more ill keep improving the headers

Shades.

In the Update Visible Options the Top column block doesnt work when checking the calendar box but when I put a check on "All Actions and Boards" it works everywhere even the calendar but it won't work if I check calendar only. :(
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

Quote from: Shades. on January 20, 2022, 11:21:24 PMIn the Update Visible Options the Top column block doesnt work when checking the calendar box but when I put a check on "All Actions and Boards" it works everywhere even the calendar but it won't work if I check calendar only. :(
Fixed for next update had a typo.
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: