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

Diego Andrés

I fixed it for @mickjav . Width on the right panel was 16%, I don't know if that's the default value in the portal settings.

SMF Tricks - Free & Premium Responsive Themes for SMF.

vbgamer45

Should be 15%

I fixed on my site using 68% for center column under ezblock manager column settings.
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: Diego Andrés on June 15, 2022, 05:22:51 PMI fixed it for @mickjav . Width on the right panel was 16%, I don't know if that's the default value in the portal settings.

Thanks @Diego Andrés @vbgamer45

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

mickjav

I Got the below block working with 2.0.19 But new to 2.1

Can anybody help me update it for 2.1

global $txt, $smcFunc, $scripturl, $user_info, $context;


// Load the language files
if (loadlanguage('Gallery') == false)
loadLanguage('Gallery','english');

require_once($sourcedir . '/Gallery2.php');

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
    SELECT c.id_cat, c.image, c.id_parent, c.title, c.total
    FROM {db_prefix}gallery_cat AS c
    WHERE c.id_parent = 35 AND LENGTH(c.image) > 0
ORDER BY c.id_cat DESC
LIMIT 4');
 
if ($smcFunc['db_affected_rows']() != 0)
    {
echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbquery))
{
//Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
$totalpics = GetPictureTotals($row['id_cat'], $row['total']);

echo  '<td  style="text-align: center;"><a href="' . $cat_url . '"><img title="' . $row['title'] . '" src="' . $row['image'] . '" alt="" /></a><br />';

echo '<span class="details"><strong><a href="' . $cat_url . '">' . parse_bbc($row['title']) . '</a></strong><br />';

// Show total pictures in the category
echo '<span class="totals">', $txt['gallery_text_totalimages'], ': ' . $totalpics . '</span></td>';


}

echo '</tr></tbody></table>';
}
$smcFunc['db_free_result']($dbquery);


Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

vbgamer45

Should work the same. Database queries didn't change
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'm getting thes errors

Notice: Undefined variable: sourcedir in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8

Warning: require_once(/Gallery2.php): failed to open stream: No such file or directory in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8

Fatal error: require_once(): Failed opening required '/Gallery2.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

vbgamer45

Just add $sourcedir to the global list in the top of the code block.
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 that got it displaying the four categories but on each loop it displays

Trying to access array offset on value of type null in /home/******/public_html/charts/Sources/Gallery2.php on line 15191

But all the details seem correct

https://www.databasedreams.co.uk/charts/index.php

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

vbgamer45

Try after
require_once($sourcedir . '/Gallery2.php');
Add
LoadGallerySettings();
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

That got it thankyou

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Shades.

Quote from: mickjav on June 15, 2022, 04:46:33 PMAll My blocks work on left, Middle but the right side wont display on the right but shows at bottom.

Had same problem when I first started using ezportal but fixed mine with 10% 65% 15% I think! Working good for me so far! 8)

Leave's 10% to play with somewhere, I know!  :o  :laugh:
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

mickjav

Not sure if it's EZ, SMF or me but just noticed after upgrading That my number lists or bullet lists no longer display numbers or bullets but seem to be in correct order??

My Block HTML (I've only added the bullet section added link below)

<ol>
<li>All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums</li>
<li>post your own countries chart(s) or analysis, playlists or any other music/chart related information.</li>
<li>Add Artists Pictures or any other pictures to your own galleries.</li>
<li>Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.</li>
<li>Add Albums To Your My Albums List.</li>
<li>You gain 1 Post of each image or download you add.</li>
<li>As your post count increases so will the amount you will be able to do.</li>
<li>If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.</li>
<li>Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a></li>
</ol>

https://www.databasedreams.co.uk/charts/index.php

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

vbgamer45

It's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.
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 June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Shades.

Quote from: mickjav on June 17, 2022, 09:53:06 AM
Quote from: vbgamer45 on June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks

I don't think it's the theme! I tested in default and it does the same with HTML code. Have to use BBC. (see attachment)

[list type=decimal]
[li]All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums[/li]
[li]post your own countries chart(s) or analysis, playlists or any other music/chart related information.[/li]
[li]Add Artists Pictures or any other pictures to your own galleries.[/li]
[li]Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.[/li]
[li]Add Albums To Your My Albums List.[/li]
[li]You gain 1 Post of each image or download you add.[/li]
[li]As your post count increases so will the amount you will be able to do.[/li]
[li]If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.[/li]
[li]Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a>[/li]
[/list]


You cannot view this attachment.

I don't know anything about the blocks not working or how it would relate to a theme. Have you tried the block on a default theme?
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

mickjav

Quote from: Shades. on June 17, 2022, 01:32:29 PM
Quote from: mickjav on June 17, 2022, 09:53:06 AM
Quote from: vbgamer45 on June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks

Thanks @Shades. I'll use the BBCode.

All The Best mick

I don't think it's the theme! I tested in default and it does the same with HTML code. Have to use BBC. (see attachment)

[list type=decimal]
[li]All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums[/li]
[li]post your own countries chart(s) or analysis, playlists or any other music/chart related information.[/li]
[li]Add Artists Pictures or any other pictures to your own galleries.[/li]
[li]Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.[/li]
[li]Add Albums To Your My Albums List.[/li]
[li]You gain 1 Post of each image or download you add.[/li]
[li]As your post count increases so will the amount you will be able to do.[/li]
[li]If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.[/li]
[li]Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a>[/li]
[/list]


You cannot view this attachment.

I don't know anything about the blocks not working or how it would relate to a theme. Have you tried the block on a default theme?

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Shades.

Quote from: mickjav on June 17, 2022, 05:07:07 PMThanks @Shades. I'll use the BBCode.

All The Best mick
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

JonathanMC

Whenever I try to make an ezblock calendar on the any column on my portal/homepage, it makes the larger option load. It never lets me load the small option, even if I choose the small option in its settings. I want to get that little 1 month calendar on the side of my homepage which displays birthdays and things of the sort.

vbgamer45

What SMF version? and what ezportal version?
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: JonathanMC on June 25, 2022, 02:53:02 AMWhenever I try to make an ezblock calendar on the any column on my portal/homepage, it makes the larger option load. It never lets me load the small option, even if I choose the small option in its settings. I want to get that little 1 month calendar on the side of my homepage which displays birthdays and things of the sort.


Just tried This with 5.5 on 2.1.2 Tried both small and large and get same, see Image

You cannot view this attachment.

Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Advertisement: