| Author |
Post |
|
|
#1 Sun Mar 18, 2007 2:49 am
|
|
Administrator
Registered: Jan 2006
Posts: 368
Location: Canada
|
Forum NoticeThis file was submitted by the poster at the posted timeUseBB Version: v1.0.x File Version:1.0 Demo:http://demo.usebbzone.comThis modification will place a small "announcement" notice at the top of your forum home page or globally on all pages. Within the ACP you can edit multiple areas to make it suit your forum look and colors. Choose the border size, border color, border type, background color, and more. The announcement text supports BBCode, HTML, and forum smilies. You can also disable it if you don't want any message shown. This adds one query to your home page if you do only the INDEX VIEW edit in sources/page_head.php. Else it will add an extra query on all pages. Download This File« Last edit by Gaia on Tue Jul 31, 2007 7:54 pm. »
|
|
|
#2 Sun Mar 18, 2007 12:21 pm
|
|
Administrator
Registered: Jan 2006
Posts: 368
Location: Canada
|
Somehow the ID got messed up. I replied and it was showing my reply as the first post and not the second like it should of been. 
|
|
|
#3 Mon Jun 25, 2007 4:03 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
For some strange reason, I got this error: An error was encountered. We apologize for any inconvenience.
In file sources/template.php on line 172:
E_USER_ERROR - Unable to load "notice" template in global templates file for set "default"! Gene
|
|
|
#4 Mon Jun 25, 2007 4:12 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
Never mind, my mistake...
Works great!
Cheers, Gene
|
|
|
#5 Tue Jul 31, 2007 3:00 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
Hi Gaia,
The Forum Notice works great but only has a limit of 255 characters (if not mistaken), can that be changed in the database (`text` varchar(255) NOT NULL default '',) to a larger value? Or maybe a text value?
Cheers, Gene
|
|
|
#6 Tue Jul 31, 2007 4:01 pm
|
|
Administrator
Registered: Jan 2006
Posts: 368
Location: Canada
|
I can add that for next release, but yes, basically you would just need to change varchar to a text. Varchar only supports 0 - 255 characters.
|
|
|
#7 Tue Jul 31, 2007 4:07 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
So, basically, I could change it to `text` text(600) NOT NULL default ''?
Gracias, Gene
|
|
|
#8 Tue Jul 31, 2007 7:08 pm
|
|
Administrator
Registered: Jan 2006
Posts: 368
Location: Canada
|
|
|
|
#9 Tue Jul 31, 2007 7:41 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
Gaia wrote Yes.
Thank you, you're an angel and a heck of a teacher. Sometimes I lack confidence to do certain things and I sure appreciate your help. All right, guess I'll go change that query using phpmyadmin. Gracias Amiga, Gene  « Last edit by raygene on Tue Jul 31, 2007 7:42 pm. »
|
|
|
#10 Tue Jul 31, 2007 7:53 pm
|
|
Administrator
Registered: Jan 2006
Posts: 368
Location: Canada
|
No problem. You learn things as you go.  .
|
|
|
#11 Tue Jul 31, 2007 8:06 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
Gaia wrote No problem. You learn things as you go.  .
And fall flat on my face every so often. Best way to learn, I guess. Gene 
|
|
|
#12 Tue Jul 31, 2007 8:16 pm
|
|
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
|
Changed the value in the database and worked like a charm.
Thanks teach, Gene
|
|
|
#13 Sun Jan 10, 2010 6:38 pm
|
|
Member
Registered: Jan 2010
Posts: 1
|
Thank you for your all efforts.
|