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

vbgamer45

No understanding the issue?
Do you want to change the size of the columns the widths? Or hide certain columns on mobile view?
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

Chyandour

Hi,

Is there a way to not display the latest user's email address in the left hand stats box?

TIA
Chris

vbgamer45

You would have to create a custom php ezblock. But generally users don't want to expose their email address for privacy/spam reasons.
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

BugginIn

Quote from: vbgamer45 on August 13, 2023, 06:40:44 PMNo understanding the issue?
Do you want to change the size of the columns the widths? Or hide certain columns on mobile view?

It was really weird, EZ Portal for responsive, cell phones was not working at all no matter what I did.

I figured it had to be one of the 22 mods messing with it.

Did a clean install on test site, did a clean EZ portal only mod.

It still showed all columns as shown above in post. Got frustrated after looking through every setting, I had to have something wrong. Never got it fixed.

I went with another portal, and it worked perfectly. I can only assume it was me not seeing something, but it never did go responsive automatically.


FYI


vbgamer45

What columns were not supposed to be there?
Were you hiding them based on mobile usage? We use user agents to detect if mobile or not. So it might depend on the device.
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

CraftyLion

How do you edit sections in an existing ezblock? I'd like to have the stats ezblock without the users online section ...

vbgamer45

Would require editing the code
Editing the file Sources/Subs-EzPortalMain2.php
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

erich199

Hi,
 I'm using prettyurls mod and I was wondering how I can rewrite the TPDownloads url so that it read something like /tp/downloads or just /downloads/

Thanks for your help

vbgamer45

This would be more of a prettyurls section but yes it would be possible to create a filter in prettyurls.
You would have to add some custom .htaccess rules too 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

CraftyLion

Quote from: vbgamer45 on November 05, 2023, 08:47:55 PMWould require editing the code
Editing the file Sources/Subs-EzPortalMain2.php

Can you be a bit more specific? Which line(s) would I need to edit??

vbgamer45

You would remove this code around line 3635

   // Add online users
           echo '<hr /><img src="'. $onlineImage . '" style="margin: 0;" align="bottom" alt="" />
                 <a href="'.$scripturl.'?action=who"><b>',$txt['ezp_stats_users_online'],'</b></a><br />';

            $online = ssi_whosOnline('array');
           echo $bullet,$txt['ezp_stats_members'],': '.$online['num_users'];
           echo '<br />'.$bullet,$txt['ezp_stats_users_guests'],': '.$online['guests'];
           echo '<br />'.$bullet,$txt['ezp_stats_users_total'],': '.$online['total_users'].'<hr />
<div style="width: 100%; ' , $online['num_users']> 14 ? 'height: 23ex;overflow: auto;' : '' ,'">';

      foreach($online['users'] as $user)
      {
echo ' ' , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];
echo '<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

Advertisement: