collapse collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 116
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 PM

* Recent Posts

Where is the code for these elements, where are they stored? by danmsmith018f
[Yesterday at 04:23:44 PM]


Re: v 2.3.3 to v2.3.7 by ♦ Ninja ZX-10RR ♦
[December 11, 2018, 04:14:48 PM]


v 2.3.3 to v2.3.7 by rollingrock
[December 11, 2018, 09:36:20 AM]


[Block] Help with editing few lines on Simpleportal by Wallen
[December 09, 2018, 05:10:34 AM]


Re: LinkTree by Chen Zhen
[November 15, 2018, 02:24:51 PM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Admin Dashboard - everything you need ;)  (Read 46666 times)

0 Members and 1 Guest are viewing this topic.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #40 on: May 08, 2009, 11:02:50 AM »
I think this is all I need ;)

Today, I won't be able to work on it because I've college exams but tomorrow I will try :D
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #41 on: May 08, 2009, 10:16:31 PM »
Don't know if this works but try this:
Code: [Select]
<?php
global $smcFunc$user_info$scripturl;

$dbresult $smcFunc['db_query'](''"
      SELECT
         COUNT(*) as total
      FROM {db_prefix}gallery_pic as p
      LEFT JOIN {db_prefix}gallery_catperm AS c ON (c.ID_GROUP IN (
$groupsdata) AND c.ID_CAT = p.ID_CAT)
      LEFT JOIN {db_prefix}gallery_log_mark_view AS v ON (p.ID_PICTURE = v.ID_PICTURE AND v.ID_MEMBER = " 
$user_info['id']  . " AND v.user_id_cat = p.user_id_cat)
      LEFT JOIN {db_prefix}members AS m ON (p.ID_MEMBER = m.ID_MEMBER)
      LEFT JOIN {db_prefix}gallery_usersettings AS s ON (s.ID_MEMBER = m.ID_MEMBER)
      
      WHERE v.ID_PICTURE IS NULL AND (s.private =0 || s.private IS NULL ) AND (c.view IS NULL || c.view = 1 ) AND  p.approved = 1 GROUP by p.ID_PICTURE "
);
   
$row $smcFunc['db_fetch_assoc']($dbresult);
   
$total $row['total'];
   
$smcFunc['db_free_result']($dbresult);

echo

<div class="smalltext"><a href="' 
$scripturl '?action=gallery;sa=unviewed">Unviewed Pics: [' $total .']</a></div>'
?>
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #42 on: May 08, 2009, 11:31:59 PM »
SMG Gallery Added to the block :P
Members Waiting Activation Added to Addons
« Last Edit: May 09, 2009, 12:00:12 AM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Shortie

  • Semi Newbie
  • *
  • Posts: 21
  • The Art OF Graphics
    • Graphics Mayhem
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Admin Dashboard - everything you need ;)
« Reply #43 on: May 09, 2009, 06:05:08 AM »
Hey Blue

This is AWESOME ! ! !

I hope you don't mind but I have moved the HR to above the titles

Also attached is a Sshot of how it looks on a new theme I am doing at the moment and I have to say to the World that this is as functional as can possibly be and looks AWESOME too so the best of both worlds

Great Stuff and,

Many thanks

Shortie

P.S. - If you want me to remove the SShot just let me know - But thought the world should see what a great job you guys have done

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #44 on: May 09, 2009, 07:38:49 AM »
Thank You very much for your big comment :D

It's good to know that people like the blocks I make :P

I hope you don't mind but I have moved the HR to above the titles

I don't mind at all ;) Do whatever you want to eheh :P

Great themes by the way, looks cool ;)
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Willerby

  • Beta Tester
  • *
  • Posts: 114
  • Gender: Male
  • Where there's a Willerby, there's a way...
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Admin Dashboard - everything you need ;)
« Reply #45 on: May 09, 2009, 05:46:31 PM »
Thaks for trying Blue...After removing the <?php I get this

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND c.ID_CAT = p.ID_CAT)
LEFT JOIN xxx_gallery_log_mark_view AS v ON ' at line 4
File: /home2/xxx/public_html/forum/Sources/SPortal2.php(3145) : eval()'d code
Line: 12

W

SMF 2.0.2 >SimplePortal 2.3.4 > Curve multi-variant Theme (customised) > SMF Gallery Pro > SMF Articles > SMF Links

Offline Daydreamer

  • Jr. Member
  • **
  • Posts: 59
  • Gender: Male
  • ЯocKayseri
    • mnyk
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: Admin Dashboard - everything you need ;)
« Reply #46 on: May 09, 2009, 06:25:54 PM »
Actually block is very long. Can give code to center block ?

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #47 on: May 09, 2009, 08:06:27 PM »
Actually block is very long. Can give code to center block ?

Yes, i can, but what do you mean by center block?

Will,

Try this one:
Code: [Select]
<?php
global $smcFunc$user_info$scripturl;

$dbresult $smcFunc['db_query'](''"
      SELECT
         COUNT(*) as total
      FROM {db_prefix}gallery_pic as p
      LEFT JOIN {db_prefix}gallery_log_mark_view AS v ON (p.ID_PICTURE = v.ID_PICTURE AND v.ID_MEMBER = " 
$user_info['id']  . " AND v.user_id_cat = p.user_id_cat)
      LEFT JOIN {db_prefix}members AS m ON (p.ID_MEMBER = m.ID_MEMBER)
      LEFT JOIN {db_prefix}gallery_usersettings AS s ON (s.ID_MEMBER = m.ID_MEMBER)
      
      WHERE v.ID_PICTURE IS NULL AND (s.private =0 || s.private IS NULL ) AND (c.view IS NULL || c.view = 1 ) AND  p.approved = 1 GROUP by p.ID_PICTURE "
);
   
$row $smcFunc['db_fetch_assoc']($dbresult);
   
$total $row['total'];
   
$smcFunc['db_free_result']($dbresult);

echo

<div class="smalltext"><a href="' 
$scripturl '?action=gallery;sa=unviewed">Unviewed Pics: [' $total .']</a></div>'
?>
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Daydreamer

  • Jr. Member
  • **
  • Posts: 59
  • Gender: Male
  • ЯocKayseri
    • mnyk
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: Admin Dashboard - everything you need ;)
« Reply #48 on: May 10, 2009, 12:52:04 AM »
Center block (like articles or board news block top or bottom).
If you don't undestand look attachment

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Admin Dashboard - everything you need ;)
« Reply #49 on: May 10, 2009, 09:04:41 AM »
Ah! Now i understand :)

I'll do that tonight. When its done it'll be posted ;)
« Last Edit: May 11, 2009, 02:06:14 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline MUSTAFAINE

  • Semi Newbie
  • *
  • Posts: 16
  • Gender: Male
    • Metal Up Your ASS!!!
  • SMF Version: 2 RC1.2
  • SP Version: 2.3
Re: Admin Dashboard - everything you need ;)
« Reply #50 on: May 18, 2009, 09:57:05 AM »
how we can do for only admins, because you know everyone can see know


Offline Kaede Akamatsu

  • Hero Member
  • *****
  • Posts: 2176
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: None
Re: Admin Dashboard - everything you need ;)
« Reply #51 on: May 18, 2009, 10:25:55 AM »
Adjust the block's permissions?

Offline ディン1031

  • ... feel not as a dev at the moment ...
  • Comrade
  • *
  • Posts: 789
  • Gender: Male
  • Overworked <<
  • SMF Version: None
  • SP Version: None
Re: Admin Dashboard - everything you need ;)
« Reply #52 on: May 18, 2009, 10:32:51 AM »
Yes give to no groups permissions, than only the admin can see it *g*.
Again... I'm having time problems...

Normal Monday to Friday I'm at office from 6:00-16:00 (On my local time ;P).

Offline MultiformeIngegno

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
  • SMF Version: None
  • SP Version: None
Re: Admin Dashboard - everything you need ;)
« Reply #53 on: November 12, 2009, 10:49:13 AM »
Does this work with SP 2.3.1? Has someone tried it? :)

Offline Dermot

  • Semi Newbie
  • *
  • Posts: 23
  • Gender: Male
  • echo 'HeHe';
    • Irish-gaming
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Admin Dashboard - everything you need ;)
« Reply #54 on: November 30, 2009, 04:15:07 PM »

I have it working fine in Simple portal 2.3.1 with smf 2.0 RC2
Smf 2.0 RC3
Simple Portal 2.3.2
Firefox 3.6
IE 8.0 (well its sits i dont use it)

Offline esem

  • Newbie
  • Posts: 4
  • SMF Version: 2 RC3
  • SP Version: 2.3.1
Re: Admin Dashboard - everything you need ;)
« Reply #55 on: March 26, 2010, 06:08:34 AM »
Is there an opportunity to add to the box set Aeva Media ?

Offline kcmartz

  • Semi Newbie
  • *
  • Posts: 39
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Admin Dashboard - everything you need ;)
« Reply #56 on: April 16, 2010, 07:41:41 PM »
Good work! But I like admin panel, a little more secure!

Offline Dermot

  • Semi Newbie
  • *
  • Posts: 23
  • Gender: Male
  • echo 'HeHe';
    • Irish-gaming
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Admin Dashboard - everything you need ;)
« Reply #57 on: April 18, 2010, 11:04:00 AM »

Maybe simpledesk options also would be useful

http://www.simpledesk.net

 :)
Smf 2.0 RC3
Simple Portal 2.3.2
Firefox 3.6
IE 8.0 (well its sits i dont use it)

Offline bahgheera

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Admin Dashboard - everything you need ;)
« Reply #58 on: June 14, 2010, 11:48:46 AM »
Is there a way to make this work with the Simpleportal article system, instead of the Articles plugin? It would be perfect for me if this were the case.

Offline MissyNL

  • Jr. Member
  • **
  • Posts: 73
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Admin Dashboard - everything you need ;)
« Reply #59 on: January 19, 2011, 03:40:21 PM »
wow! this block is very nice!

What if i only want is the mod reports area , the SP add article section, AEVA Gallery and what i have not seen yet..  the members who are waiting for approval...

How do i this?