News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Share This Topic

Started by All Colours Sam, September 06, 2009, 05:09:23 AM

Previous topic - Next topic

dkharp

#160
Hello, I am getting this error 
QuoteUndefined index: share_default_menu

It says

To install this mod I had to create a temp folder in my packages directory. The mod it self works fine, but I can not announce topic when I make a post and i am getting the above error. It's in admin.php line 156



Arantor

Did you do as I suggested in the support topic and clear the file cache?
Holder of controversial views, all of which my own.


dkharp

Yes and it still hows. So I am waiting to hear from the mod author before I manually uninstall it.

Arantor

* Arantor WAS the mod author for a while.

I'm the one that named it share_default_menu originally. I would also point out it's not a serious error.

What language are you using in your admin panel?
Holder of controversial views, all of which my own.


dkharp

English. But this issue is I can not announce new topics.

Arantor

English or English UTF-8?
Holder of controversial views, all of which my own.


dkharp

    English     ISO-8859-1     68     en_US

Arantor

From the screen you got that from, click English, then in the dropdown on right, select Modifications.

Is there an entry for share_default_menu in that list?
Holder of controversial views, all of which my own.


dkharp

#168
Default Forum Language  drop down but no other but English.

I downloaded UTF-8 English and switched over to that. Still get the same error. Everything seems to work on my site but the ability to announce a new topic and send out news letters.

mirahalo

sorry, for the delay,  on weekends my free time is near to zero :P ,  ok,   first, thank you Arantor for still supporting this mod, Arantor was the original author of this mod.

ok, as Arantor said, this problema has to do with your language files, make sure you have the correct text strings in your /Themes/default/Modifications.yourlanguage.php.   a quick solution will be this:

in your admin file  change this:

'sharetopic' => array($txt['share_default_menu']),

to this:

'sharetopic' => array('Share This Topic'),      however  this works only if you use  english language, in other languages you will still see  "Share This Topic"  an not its translated word,   thats way I suggest to check your modifications file  first.

about the announce topic problem,   this mod does not modified code from that,  what other mods do you have installed?   when you uninstall this mod you can announces topics properly?



dkharp

Thank you fro your response.

What is the difference between
QuoteUTF-8 English and English

Also here is the list of mods I have. I have no idea why it wont let me announce new topic.

QuoteAeva ~ Auto-Embed Video & Audio      7.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    SMF Media Gallery    2.0.5    [ Uninstall ] [ List Files ] [ Delete ]
3.    More Genders    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    Activity_Bar    1.0.1.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Gender on Memberlist    1.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Colored_Calendar_Frame    1.1.1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    Hide SMF Version    1.0.5    [ Uninstall ] [ List Files ] [ Delete ]
8.    Hide Topic Replies    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Welcome Topic Mod    2.0.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Treasury    2.02    [ Uninstall ] [ List Files ] [ Delete ]
11.    Profile Comments    2.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Favourite (Favorite) Boards    1.1    [ Uninstall ] [ List Files ] [ Delete ]
13.    Yet Another Global Announcements Mod    2.3    [ Uninstall ] [ List Files ] [ Delete ]
14.    RSS Feed Icon    1.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    Share This Topic    1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF Arcade    2.5 RC1

Arantor

The different between English and English UTF-8 is actually fairly minimal except for the fact that strings don't always get updated in English UTF-8 (though this one should have both; I certainly added both originally)
Holder of controversial views, all of which my own.


dkharp

Thank you!  I changed the code and now not one error!

SMF Rocks!


dkharp

#173
Hello I am getting this error now.

Quote
Apply Filter: Only show the error messages of this URL
http://36thid.info/index.php?topic=280.0
Apply Filter: Only show the errors with the same message
8: Undefined index: share_yahoo
Apply Filter: Only show the errors from this file
File: /home/content/j/o/h/johnnyskid/html/Themes/default/Display.template.php (main sub template - eval?)
Line: 166

and


QuoteApply Filter: Only show the error messages of this URL
http://36thid.info/index.php?topic=280.0
Apply Filter: Only show the errors with the same message
8: Undefined index: share_default_tooltip
Apply Filter: Only show the errors from this file
File: /home/content/j/o/h/johnnyskid/html/Themes/default/Display.template.php (main sub template - eval?)
Line: 166

280 is where I have this  mod pointing too.
QuoteWelcome Topic Mod      2.0.3

It is creating new posts but it's not adding them to count or showing up in last post on board.

My mods are>

Quote1.     Aeva ~ Auto-Embed Video & Audio      7.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    SMF Media Gallery    2.0.5    [ Uninstall ] [ List Files ] [ Delete ]
3.    More Genders    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    Activity_Bar    1.0.1.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Gender on Memberlist    1.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Colored_Calendar_Frame    1.1.1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    Hide SMF Version    1.0.5    [ Uninstall ] [ List Files ] [ Delete ]
8.    Hide Topic Replies    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Welcome Topic Mod    2.0.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Treasury    2.02    [ Uninstall ] [ List Files ] [ Delete ]
11.    Profile Comments    2.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Favourite (Favorite) Boards    1.1    [ Uninstall ] [ List Files ] [ Delete ]
13.    Yet Another Global Announcements Mod    2.3    [ Uninstall ] [ List Files ] [ Delete ]
14.    RSS Feed Icon    1.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    Share This Topic    1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF Arcade v2.5 AutoPost Add-On    2.1    [ Install Mod ] [ List Files ] [ Delete ]
17.    SMF Arcade    2.5 RC1    [ Uninstall ] [ List Files ] [ Delete ]
18.    SMF Links    2.1.2    [ Uninstall ] [ List Files ] [ Delete ]
19.    PageEar (Pagepeel)    2.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Twitter and Facebook Publisher mod    2.1    [ Uninstall ] [ List Files ] [ Delete ]
21.    Contact Page    2.0

______________

i went in and manually remove this mod. In my M.E. php file there was no modifications.  Think that this mod need to be manully installed to work right. However can any of the above interfere with this mod? other wise it's all good!
QuoteYou have to use the package phrase and install manually FYI

mirahalo

both errors are cause by missed text strings,   I suggest you put this:

$txt['share_default_menu'] = 'Share This Topic';
$txt['share_default_menu_desc'] = 'Use this panel to confirm which social networking services you\'d like to be able to share forum topics with.';
$txt['share_default_tooltip'] = 'Share this topic on %s';
$txt['share_facebook'] = 'Facebook';
$txt['share_myspace'] = 'MySpace';
$txt['share_delicious'] = 'Del.icio.us';
$txt['share_digg'] = 'Digg';
$txt['share_reddit'] = 'Reddit';
$txt['share_stumbleupon'] = 'StumbleUpon';
$txt['share_twitter'] = 'Twitter';
$txt['share_technorati'] = 'Technorati';
$txt['share_magnolia'] = 'Magnolia';
$txt['share_google'] = 'Google';
$txt['share_yahoo'] = 'Yahoo';


in to your /Themes/default/languages/Modificationes.yourlanguage.php  at the end before  this: ?>


the welcome topic error, you should ask in the support topic for that mod,  this mod does interfered with that mod afaik ;)

dkharp

Yes, Thank you. When I manually uninstalled. There were no codes in that file.  :o

found the issue... ;D

ardd

Thanks for this very cool mod, the way it showed the fail and the proper edit in the "Install to other themes" section made the edits in the very slightly different custom theme code easy peasey lemon squeezy!!!!!!

Best Regards
Ardd0
http://www.hypercrites.org

eng_HK

#177
in italian..

Original translation on: http://www.italiansmfmods.net/index.php?topic=535.0


File: Modifications.italian.php

Cercare:
Php:

?>


Aggiungere sopra:
Php:

$txt['share_default_menu'] = 'Condividi questo topic';
$txt['share_default_menu_desc'] = 'Utilizza questo pannello per confermare su quali siti di social network è possibile condividere il topic.';
$txt['share_default_tooltip'] = 'Condividi questo topic su %s';
$txt['share_facebook'] = 'Facebook';
$txt['share_myspace'] = 'MySpace';
$txt['share_delicious'] = 'Del.icio.us';
$txt['share_digg'] = 'Digg';
$txt['share_reddit'] = 'Reddit';
$txt['share_stumbleupon'] = 'StumbleUpon';
$txt['share_twitter'] = 'Twitter';
$txt['share_technorati'] = 'Technorati';
$txt['share_magnolia'] = 'Magnolia';
$txt['share_google'] = 'Google';
$txt['share_yahoo'] = 'Yahoo';

eng_HK

Only a dubt.. I think that only registered people could share a post.. not a guest..

Could you add this features,flag in next release?

Thx

Arantor

Why should it be limited to registered users? A forum registration doesn't necessarily mean a Facebook etc registration and vice versa.

Wouldn't be too hard to make it even a permission, thinking about it... oh wait, this isn't my mod any more... ;)
Holder of controversial views, all of which my own.


Advertisement: