[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 »

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 »

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 »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

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 »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

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 »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

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 »

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

Re: [Beta] phpbb_notice 0.0.1

Post by Dugi »

pm sent
PM me for custom extension pricing / My validated MODs / My MODs in development
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28619
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 »

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

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

Re: [Beta] phpbb_notice 0.0.1

Post by ttuu »

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”