[ABD] Welcome Panel 0.1.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

[ABD] Welcome Panel 0.1.1

Post by Gleasonator »

MOD Title: Welcome Panel
MOD Description: A welcome panel similar to vB's Welcome Panel mod.
MOD Version: 0.1.1

MOD Download: HERE
Last Stable version: None

Demo Board: None yet
Demo Username: None yet
Demo Password: None yet


Current Features:
  • Displays user's name (clickable)
  • Displays user's avatar (clickable)
  • Displays number of posts since last visit (clickable)
  • Displays number of unread private messages (clickable)
    -
  • Displays number of posts created by user (clickable)
  • Displays user's average number of posts per day
    -
  • Displays number of forum members (clickable)
  • Displays number of threads on forums
  • Displays number of posts on forums
Planned Features:
  • Add user's percent of total forum posts
  • Add forum most active in
  • Add last visit time
    -
  • Possibly more
Please let me know if you run into any issues with this mod, the MODX file, or anything else. Also please note that this is my first phpBB mod and my first shot at PHP, so updates will probably take a while. :lol:

Known Bugs:
  • Avatar only shows if uploaded to the forum's server, and will not show up if linked elsewhere

Note to translators!

If you would like your language to be included, translate this code (from language/en/common.php) and I will add it to the \contrib directory (crediting you, of course):

Code: Select all

	//[BEGIN MOD]--{Welcome panel}--[BEGIN MOD]\\	
	'GWP_PANEL_TITLE'		=> 'Welcome Back',
	'GWP_WELCOME_BACK'		=> 'Welcome back',
	'GWP_NEW_POSTS_LEFT'	=> 'There have been',
	'GWP_NEW_POSTS_RIGHT'	=> 'new posts since your last visit.',
	'GWP_YOUR_STATS'		=> 'Your personalised statistics',
	'GWP_PM_COUNT_LEFT'		=> 'You have',
	'GWP_PM_COUNT_RIGHT'	=> 'unread private messages',
	'GWP_POST_COUNT_TEXT'	=> 'Your total forum posts',
	'GWP_POSTS_PD_TEXT'		=> 'Average posts per day',
	'GWP_MEMBERS'			=> 'Members',
	'GWP_THREADS'			=> 'Threads',
	'GWP_POSTS'				=> 'Posts',
	'GWP_EDIT_PROFILE'		=> 'Edit Your Profile',
	//[END MOD]--{Welcome panel}--[END MOD]\\
TRANSLATIONS ALREADY INCLUDED:
  • Dutch thanks to saaiberke
For your translation, navigate to the contrib folder in the Welcome Panel, and open Welcome Panel in Your Language.xml
in your web broswer, and you will see the additional file edits you can do.
Updating from 0.1.0 to 0.1.1:

Open: index.php

Find:

Code: Select all

	'TOPIC_COUNT'			=> $total_topics,
	'POST_COUNT'			=> $total_posts,
	'USER_COUNT'			=> $total_users,
Before Add:

Code: Select all

	'PHPBB_ROOT_PATH'		=> $phpbb_root_path,
Open: styles/your_style/template/welcome_panel.html

Find:

Code: Select all

download.php?avatar={AVATAR_FILE}
Replace with:

Code: Select all

{PHPBB_ROOT_PATH}download/file.php?avatar={AVATAR_FILE}
Save and close all files, purge your cache.
Last edited by Gleasonator on Tue Mar 31, 2009 12:05 am, edited 8 times in total.
Sorry for my bad Engrish !
gleason|design

Image
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Welcome Panel

Post by ac_roma »

really its nice mod :)

does it add any sql to db?
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] Welcome Panel

Post by Gleasonator »

ac_roma wrote:really its nice mod :)
Thank you. :D
ac_roma wrote:does it add any sql to db?
Not at the moment.

It may at a later date though.
Sorry for my bad Engrish !
gleason|design

Image
User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [DEV] Welcome Panel

Post by playerfr »

Nice Have to try this :D
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com
*Renegade*
Registered User
Posts: 3
Joined: Mon Aug 27, 2007 11:53 am

Re: [DEV] Welcome Panel

Post by *Renegade* »

When does this mod comes online?
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Welcome Panel

Post by ac_roma »

Gleasonator wrote:
ac_roma wrote:really its nice mod :)
Thank you. :D
ac_roma wrote:does it add any sql to db?
Not at the moment.

It may at a later date though.
i hope dont need add sql to db :D
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] Welcome Panel

Post by Gleasonator »

For the past week I've been working on my new PC (Vista! Oooo! Ahhh! 2.5 gigs of RAM!).

Anyways, everything is working now so I can continue finishing this mod. Sorry for the wait.

At the beginning it wont add SQL to the database. :) In the future I may add it, but I will still provide a version that does not use SQL.
Sorry for my bad Engrish !
gleason|design

Image
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] Welcome Panel

Post by Gleasonator »

Fixed the IE bug! :D Not it works fine in both browsers (though IE could still use a little cosmetic work, as the corners are squared off rather than rounded like in FF).

Now I just need to add language stuff and clean up the code, and come up with a MODX. :D
Sorry for my bad Engrish !
gleason|design

Image
User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [DEV] Welcome Panel

Post by playerfr »

Gleasonator wrote:Fixed the IE bug! :D Not it works fine in both browsers (though IE could still use a little cosmetic work, as the corners are squared off rather than rounded like in FF).

Now I just need to add language stuff and clean up the code, and come up with a MODX. :D
Thanks for giving us news :) cant wait to see this further developed

P.S, IE6 realy make me mad, we have that on work and things for any mod dosent work good realy bad browser. :twisted:
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Welcome Panel

Post by Gleasonator »

Sorry it took so long. :P

I added a download link. Still using RC4 here so you may have problems installing it on RC5... :roll: If you install on RC5, please let me know how it goes.

I have school tomorrow so I need to go to bed now, but I'll check it with RC5 tomorrow. :)
Sorry for my bad Engrish !
gleason|design

Image
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Welcome Panel

Post by saaiberke »

Dutch translation:

Code: Select all

   //[BEGIN MOD]--{Welcome panel}--[BEGIN MOD]\\   
   'GWP_PANEL_TITLE'      => 'Welkom terug',
   'GWP_WELCOME_BACK'      => 'Welkom terug',
   'GWP_NEW_POSTS_LEFT'   => 'Er zijn',
   'GWP_NEW_POSTS_RIGHT'   => 'nieuwe postings sinds je laatste bezoek.',
   'GWP_YOUR_STATS'      => 'Je gepersonaliseerde statistieken',
   'GWP_PM_COUNT_LEFT'      => 'Je hebt',
   'GWP_PM_COUNT_RIGHT'   => 'ongelezen privéberichten',
   'GWP_POST_COUNT_TEXT'   => 'Je totaal aantal forum postings',
   'GWP_POSTS_PD_TEXT'      => 'Gemiddeld aantal postings per dag',
   'GWP_MEMBERS'         => 'Gebruikers',
   'GWP_THREADS'         => 'Onderwerpen',
   'GWP_POSTS'            => 'Postings',
   'GWP_EDIT_PROFILE'      => 'Wijzig je profiel',
   //[END MOD]--{Welcome panel}--[END MOD]\\
I just installed the mod on my board, everything went smoothly, only I don't see my avatar but instead I have the text "edit your avatar". (In English, but my board is in Dutch). Maybe a little bug?

EDIT: In welcome_panel.html I see this:

Code: Select all

<!--IF AVATAR_FILE--><a href="ucp.php?i=profile&mode=avatar"><img src="download.php?avatar={AVATAR_FILE}" alt="Edit your avatar" /></a><!--ENDIF-->
Isn't it so that this is only for uploaded avatars? I turned this off on my board, only linked avatars are allowed. I think this still needs a little tweaking. ;)

EDIT2: I think I found it:

Code: Select all

<!--IF AVATAR_FILE--><a href="ucp.php?i=profile&mode=avatar"><img src="{AVATAR_FILE}" alt="Edit your avatar" /></a><!--ENDIF-->
works for me :)



Grtz,

Nic
darkjoka
Registered User
Posts: 19
Joined: Sat Dec 06, 2003 2:06 pm
Contact:

Re: [BETA] Welcome Panel

Post by darkjoka »

I was wondering how to use this mod on acidtech_tiger theme? the installation seems to of went smoothly but. I cant see any of the text or links or anything on my acidtech_tiger theme. If you could help that would be great.
User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] Welcome Panel

Post by playerfr »

Installed on Updated RC5 and it is working as it should ;) Thanks :)

As I am on work we use IE6 dont know if the problem is same on other browsers (I hate IE6) I see that the message : You have 0 unread private messages is alligned at the right. Is it normal ?

Also Average post : Average posts per day: 2.1521739130435 I think 2 digit after decimal will be enough lolzz :lol:

Somme sugestions :

- When user dont have Avatar : Show No_Avatar.gif

- Adding a Different welcome message depending on their time : like after midnight : Welcome back Users, you are up late ;) etc....

Cant we have Welcome panel for Non registered users also ? Telling them to register, with No Avatar image and Somme Resume about the site , what they can find inside.

Thanks :D
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Welcome Panel

Post by saaiberke »

Acidtech theme is based on subsilver2 theme, so it would be nice if someone can make a welcome_panel.html that is suitable for these styles. :)

If I knew enough HTML I could make it myself but this is to complicated to me at the moment, I'm still learning :)

Nic
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Welcome Panel

Post by Gleasonator »

Thanks for the translation, saaiberke. :) I know about the avatar thing.... it's the only real bug I know of. :(

@playerfr, yes, it is supposed to be aligned to the right to save space for what I was planning on adding later.

I need to fix average posts per day. :lol: I just wanted to get this released first. It's functional. :mrgreen: No_avatar.gif... OK... the thing based on time is a good idea. I'm thinking something like "Good Morning, {USERNAME}" for 5AM-11:59AM, "Good Afternoon" from 12PM to 4:59PM... etc. I'll try to add that after I do all the easy stuff. :geek:

I'll also work on a subSilver2 template.
Sorry for my bad Engrish !
gleason|design

Image
Locked

Return to “[3.0.x] Abandoned MODs”