[Beta] phpbb_notice 0.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
Bycoja
Registered User
Posts: 127
Joined: Tue Apr 29, 2008 7:55 pm
Location: Germany

[Beta] phpbb_notice 0.0.1

Post by Bycoja » Sat Oct 04, 2008 1:08 pm

Title: phpbb_notice

Description:
This mod enables creating notices which will be displayed above the forums.

Version: [Beta] 0.0.1
Target version: phpBB 3.0.1

Image

Board: https://bycoja.by.funpic.de/
User: test_user
Password: test_pass

Mod Download: Image Download

Screenshots:
Image Settings (1)
Image Settings (2)
Image Forums
Image Add module

Feature requests and feedback are always welcome. ;)

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [Beta] phpbb_notice 0.0.1

Post by ttuu » Wed Oct 08, 2008 10:59 am

in my board install portal and after i installed this mod i get erorr in the portal.php page:

Code: Select all

Fatal error: Cannot redeclare get_user_rank() (previously declared in D:\hshome\enativ\enativ.com\forum\portal\includes\functions.php:231) in D:\hshome\enativ\enativ.com\forum\includes\functions_display.php on line 1209
the code fot 231 line in forum\portal\includes\functions.php page is:

Code: Select all

function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [Beta] phpbb_notice 0.0.1

Post by Sunka » Wed Oct 08, 2008 6:37 pm

Looking promising :mrgreen:
  • Any chance to admin choose color in ACP (color of notice body)
  • How many letters message (notice) could have? Is there limit (255 letters)?
  • Are everything OK with non english letters? (Č Ć Š Đ Ž)?
  • Could you do one message for registered users, and anotherone message for non registered (not logged) users?

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Thu Oct 09, 2008 3:15 pm

nice mod :)
Last edited by Dugi on Thu Oct 09, 2008 6:58 pm, edited 1 time in total.
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Thu Oct 09, 2008 6:57 pm

i have a problem:

Image

how to fix this? :?
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
MasterHand
Registered User
Posts: 170
Joined: Sat Jun 17, 2006 6:34 pm
Location: includes/functions_user.php

Re: [Beta] phpbb_notice 0.0.1

Post by MasterHand » Thu Oct 09, 2008 8:01 pm

dugi wrote:i have a problem:

Image

how to fix this? :?

It appears that your style and this MOD are conflicting. Have you tried editing the template code to fix this? [It's displaying your template images for the upper and middle part of the box, but not the bottom]
One more thing....No support via PM!

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Fri Oct 10, 2008 10:29 am

MasterHand wrote:
dugi wrote:i have a problem:

Image

how to fix this? :?

It appears that your style and this MOD are conflicting. Have you tried editing the template code to fix this? [It's displaying your template images for the upper and middle part of the box, but not the bottom]
never tried to fix, but how can make it looking normal?
PM me for custom extension pricing / My validated MODs / My MODs in development

Bycoja
Registered User
Posts: 127
Joined: Tue Apr 29, 2008 7:55 pm
Location: Germany

Re: [Beta] phpbb_notice 0.0.1

Post by Bycoja » Fri Oct 10, 2008 4:28 pm

dugi wrote:never tried to fix, but how can make it looking normal?
Remove the style-tags or change them in /styles/.../template/overall_header.html:

Code: Select all

<div class="navbar" style="margin: 10px 0; background-color: #FFE2AA;">
			<div class="inner"><span class="corners-top"><span></span></span>
				<div class="headline" style="font-weight: bold; font-size: 13px; padding: 5px;">{S_NOTICE_SUBJECT}</div>
				<div class="notice_msg" style="padding: 5px; padding-top: 0;">{S_NOTICE_MESSAGE}</div>
			<span class="corners-bottom"><span></span></span></div>
		</div>
(If this still doesn't work you have to change the css file ...)
* Any chance to admin choose color in ACP (color of notice body)
* How many letters message (notice) could have? Is there limit (255 letters)?
* Are everything OK with non english letters? (Č Ć Š Đ Ž)?
* Could you do one message for registered users, and anotherone message for non registered (not logged) users?
* Yes, will be possible next version.
* There's no limit (Well, actually there is one: 16777215 characters).
* Works fine
* Will be possible next version, too.

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Fri Oct 10, 2008 5:40 pm

Bycoja wrote:
dugi wrote:never tried to fix, but how can make it looking normal?
Remove the style-tags or change them in /styles/.../template/overall_header.html:

Code: Select all

<div class="navbar" style="margin: 10px 0; background-color: #FFE2AA;">
			<div class="inner"><span class="corners-top"><span></span></span>
				<div class="headline" style="font-weight: bold; font-size: 13px; padding: 5px;">{S_NOTICE_SUBJECT}</div>
				<div class="notice_msg" style="padding: 5px; padding-top: 0;">{S_NOTICE_MESSAGE}</div>
			<span class="corners-bottom"><span></span></span></div>
		</div>
(If this still doesn't work you have to change the css file ...)
i wont remove it totally but just fix it :oops:
PM me for custom extension pricing / My validated MODs / My MODs in development

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Fri Oct 10, 2008 6:14 pm

dugi wrote:
Bycoja wrote:
dugi wrote:never tried to fix, but how can make it looking normal?
Remove the style-tags or change them in /styles/.../template/overall_header.html:

Code: Select all

<div class="navbar" style="margin: 10px 0; background-color: #FFE2AA;">
			<div class="inner"><span class="corners-top"><span></span></span>
				<div class="headline" style="font-weight: bold; font-size: 13px; padding: 5px;">{S_NOTICE_SUBJECT}</div>
				<div class="notice_msg" style="padding: 5px; padding-top: 0;">{S_NOTICE_MESSAGE}</div>
			<span class="corners-bottom"><span></span></span></div>
		</div>
(If this still doesn't work you have to change the css file ...)
i wont remove it totally but just fix it :oops:

edit:

i removed it but the notice will not appear...
but i want get it fixed pleaseee, what to change in CSS and in which CSS, there are a lot of CSS files in Themes folder :?
PM me for custom extension pricing / My validated MODs / My MODs in development

Bycoja
Registered User
Posts: 127
Joined: Tue Apr 29, 2008 7:55 pm
Location: Germany

Re: [Beta] phpbb_notice 0.0.1

Post by Bycoja » Fri Oct 10, 2008 8:08 pm

dugi wrote:i wont remove it totally but just fix it :oops:

edit:

i removed it but the notice will not appear...
but i want get it fixed pleaseee, what to change in CSS and in which CSS, there are a lot of CSS files in Themes folder :?
Well, you shouldn't remove the entire code I posted, just the style-tag. Can you post (or PM) a link to your board and your style, please?

User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi » Sat Oct 11, 2008 9:50 am

pm sent
PM me for custom extension pricing / My validated MODs / My MODs in development

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25388
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [Beta] phpbb_notice 0.0.1

Post by Paul » Sat Oct 11, 2008 10:42 am

dugi, please dont double post but edit your posts instead.

Thanks.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [Beta] phpbb_notice 0.0.1

Post by ttuu » Sat Oct 11, 2008 5:03 pm

ttuu wrote:in my board install portal and after i installed this mod i get erorr in the portal.php page:

Code: Select all

Fatal error: Cannot redeclare get_user_rank() (previously declared in D:\hshome\enativ\enativ.com\forum\portal\includes\functions.php:231) in D:\hshome\enativ\enativ.com\forum\includes\functions_display.php on line 1209
the code fot 231 line in forum\portal\includes\functions.php page is:

Code: Select all

function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)
anyone?

Locked

Return to “[3.0.x] MODs in Development”