Global Announcements

Started by JayBachatero, August 15, 2006, 02:39:18 PM

Previous topic - Next topic

wxtracker93

Quote from: Gandalf The White on February 03, 2007, 11:22:52 AM
I am using babylon theme and can't find:
   // Create the button set...
   $normal_buttons = array(


Where can i edit?


I am using the Proton theme and can't find that either.

3 hit pure

Hey um how can I upload the global announcement to my forums after I downloaded it.
hxxp:http://totalwarscape.smfforfree2.com/index.php [nonactive]

chubbyboy

It doesn't support utf. I try to post in chinese, but it displays ???. Any idea?

chubbyboy

my current linktree is like this

My forum >> Global Announcement > Board Policies

I want to change it to

My forum >> Global Chested Posts >> Board Policies

You guys know which file should I edit?

squirrelof09

SMF Version 1.1.1

8: Undefined index: global_announcements_mods
File: /home/*****/public_html/forum/Sources/Subs.php
Line: 2829

When I go in the admin panel I do not see the global announcements category to the left of the screen.

JayBachatero

You have a missing language string.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Farmacija

on this link http://custom.simplemachines.org/mods/index.php?mod=419
it is written
edit file>$themedir/MessageIndex.template.php</edit file><search for> // Create the button set... $normal_buttons = array(</search for><add [b]before[/b]> // Global Announcements... if (isset($context['globalAnnouncements']) && count($context['globalAnnouncements']) != 0) {
.
.
.
.

but in install.xml file which goes with hole GA package writes
<file name="$themedir/MessageIndex.template.php">
- <operation>
- <search position=[b]"after"[/b]>
- <![CDATA[ // Create the button set...
$normal_buttons = array(

  ]]>
  </search>
- <add>
- <![CDATA[ // Global Announcements...
if (isset($context['globalAnnouncements']) && count($context['globalAnnouncements']) != 0)
{
echo '

....

and whats finally right?
i try manually edit messageindex.template.php file but i still cannot install mod properly.
maybe its up to 1.1.2 version of forum?


www.farmaceuti.com
www.farmaceuti.com/tekstovi

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Farmacija

i know fo that manual and i tried by hundreds time to install that mod following instructions in manual and simply doesn't work nd i'm share i quiet good replace or add everything its needed!
www.farmaceuti.com
www.farmaceuti.com/tekstovi

JayBachatero

Well in regards to your other post that is correct.  SMF has two formats for mod installation.  Boardmod and xml.  The xml can be a little more confusing to install from.  In the board mod we have <search><add after> but in xml we have <search position="before"><add>.  Meaning that the search goes before the add.  So it's like saying add after.

Take a look at SMF Package Parser - The perfect utility for installing mods manually.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Farmacija

parser isnt usefull at all
QuoteERROR: The package-info.xml file is invalid!


Debugging Information
Error message: String could not be parsed as XML
Source: /var/www/smf/package.php:93
Errors encountered while parsing XML file:
Stack Trace:
#0 /var/www/smf/package.php(93): SimpleXMLElement->__construct('')
#1 /var/www/smf/package.php(54): parsePackageInfoXML('/tmp/smf_xml/pa...', 'install', 'all')
#2 /var/www/smf/package.php(707): parseArchive('/tmp/phpK9Fn7U', 'install', 'all')
#3 {main}

XML File:
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Mick.

I tried this mod with no errors but my site now is blank. Any ideas on how to remove the mod or fix this?

www.midwestavalancheclub.com


Mick.

Quote from: BlueDevil on February 15, 2007, 09:33:29 PM
I tried this mod with no errors but my site now is blank. Any ideas on how to remove the mod or fix this?

www.midwestavalancheclub.com



bump.

RoarinRow

#253
Quote from: BlueDevil on February 15, 2007, 09:53:45 PM
Quote from: BlueDevil on February 15, 2007, 09:33:29 PM
I tried this mod with no errors but my site now is blank. Any ideas on how to remove the mod or fix this?

www.midwestavalancheclub.com



bump.

does your server have an error log that you can get to via FTP?  if there is, check out the scripts.log or something like that and see what's fouling up your forum.  It might be your Load.php file.  If you can restore that file from a previous version or from the latest SMF package, that might do the trick.

From there you'll have to add the lines of codes from your mods or something, but this might be your screen back.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Mick.

Quote from: RoarinRow on February 15, 2007, 10:19:30 PM
Quote from: BlueDevil on February 15, 2007, 09:53:45 PM
Quote from: BlueDevil on February 15, 2007, 09:33:29 PM
I tried this mod with no errors but my site now is blank. Any ideas on how to remove the mod or fix this?

www.midwestavalancheclub.com



bump.

does your server have an error log that you can get to via FTP?  if there is, check out the scripts.log or something like that and see what's fouling up your forum.  It might be your Load.php file.  If you can restore that file from a previous version or from the latest SMF package, that might do the trick.

From there you'll have to add the lines of codes from your mods or something, but this might be your screen back.

Is fixed for now.     i renamed the index.php   Now i can go to bed.

RoarinRow

Quote from: BlueDevil on February 15, 2007, 11:01:01 PM
Quote from: RoarinRow on February 15, 2007, 10:19:30 PM
Quote from: BlueDevil on February 15, 2007, 09:53:45 PM
Quote from: BlueDevil on February 15, 2007, 09:33:29 PM
I tried this mod with no errors but my site now is blank. Any ideas on how to remove the mod or fix this?

www.midwestavalancheclub.com



bump.

does your server have an error log that you can get to via FTP?  if there is, check out the scripts.log or something like that and see what's fouling up your forum.  It might be your Load.php file.  If you can restore that file from a previous version or from the latest SMF package, that might do the trick.

From there you'll have to add the lines of codes from your mods or something, but this might be your screen back.

Is fixed for now.     i renamed the index.php   Now i can go to bed.

Cool, later Mick!   

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

I'm confussed.  Was this a user error or mod error?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Mick.

Quote from: JayBachatero on February 16, 2007, 01:02:41 PM
I'm confussed.  Was this a user error or mod error?

After i uploaded this mod,my site went blank. I typed my URL and nothing showed. I renamed the index.php and everything came back up.  Im not really sure what happened but the mod is working just fine now.

korby

#258
I have a problem. I just installed it manualy on SlickPro Graphite theme and... nothing happened. :| Theoreticaly it's all good, I did it just how install.xml described it. :(

Please help if you can. Thanks alot.

JayBachatero

Quote from: BlueDevil on February 16, 2007, 07:24:48 PM
Quote from: JayBachatero on February 16, 2007, 01:02:41 PM
I'm confussed.  Was this a user error or mod error?

After i uploaded this mod,my site went blank. I typed my URL and nothing showed. I renamed the index.php and everything came back up.  Im not really sure what happened but the mod is working just fine now.
That weird.

Quote from: korby on February 20, 2007, 05:03:03 PM
I have a problem. I just installed it manualy on SlickPro Graphite theme and... nothing happened. :| Theoreticaly it's all good, I did it just how install.xml described it. :(

Please help if you can. Thanks alot.
You need to manually install that mod for the theme.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: