leaklords
Forum Replies Created
-
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Stream getting error messageBut normally the plugin uses the result and if no live stream is returned, the plugin add an alert “currently no live strema online”
Did you have make any changes on your configuration ? another plugin activated ?
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Stream getting error messageYou may try directly the link
The link works but only one live stream return a result, the channel FastFake.
The other, also one by one like http://api.justin.tv/api/stream/list.json?channel=sonder15
return an empty array.Maybe the other channels are moderate by Twitch OR the other channels becomes “private” and the share option by its respective author is now disable directly on its personal Twitch administration interface.
Api from Own3d don’t permit that. Maybe the Api for Twitch yes but with the loop of thumbnails I make a choice of development to have the same result for the two Api (in order to not making DIY and to not burden the code. The page have already some difficulties and a html cache is already necessary).
If it’s your live stream, you have the possibilities to define your display_name with your name in use on twitch or own3d (I have making this plugin for gamers team not for mass sharing and will remain in this regard throughout its development).
The plugin use the display_name from wordpress.
If nothing is defined for the display_bame, wordpress replaces by the “connexion_name”.
Define your display name on your profil… in your administration (you have a input to define the display_name)
Edit: double post
Verify if the plugin part named “liveTV Team – 3 – IRC chat” is activated (in your plugin section)
Forum: Plugins
In reply to: Any Mysql guru to help me please to retrieve a sum of meta_valueOnly the total sum of a meta_key -> value pair placed in multiple posts with taxonomy relation “category” only.
$meta_key = 'your_meta'; $request = $wpdb->get_results($wpdb->prepare( " SELECT sum(meta_value) AS total, name FROM $wpdb->postmeta AS pm, $wpdb->posts AS p, $wpdb->term_relationships AS tr, $wpdb->term_taxonomy AS tt, $wpdb->terms AS t WHERE pm.post_id=p.ID AND p.post_status='publish' AND pm.post_id=tr.object_id AND tr.term_taxonomy_id=tt.term_taxonomy_id AND tt.taxonomy='category' AND tr.term_taxonomy_id=t.term_id AND meta_key=%s GROUP BY t.name ORDER BY total DESC ", $meta_key));Forum: Plugins
In reply to: Any Mysql guru to help me please to retrieve a sum of meta_valueIf a user comes here, after studies and some tries I have this. But currently this solution don’t exclude the “links” taxonomy.
$meta_key = 'your_meta'; $request = $wpdb->get_results($wpdb->prepare( " SELECT sum(meta_value) AS total, name FROM $wpdb->postmeta AS pm, $wpdb->posts AS p, $wpdb->term_relationships AS tr, $wpdb->terms AS t WHERE pm.post_id=p.ID AND p.post_status='publish' AND pm.post_id=tr.object_id AND tr.term_taxonomy_id=t.term_id AND meta_key=%s GROUP BY t.name ", $meta_key));INNER JOIN, LEFT JOIN, JOIN, RIGHT JOIN,… is a “new” more clear/flexible clause recommended in replacement of WHERE (nothing else).
Forum: Plugins
In reply to: Any Mysql guru to help me please to retrieve a sum of meta_valueIt’s not the subject but I have builded another option with SELECT meta_key, sum(meta_value) AS my_total FROM $wpdb->postmeta WHERE meta_key=%s GROUP BY meta_key
but to group the sum(meta_value) from this meta_key (placed in all posts) foreach categories I have difficulties.
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Incorrect code in profile page ErrorApi of Own3d.tv works with ID of channel
34046
not the name
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Language questionA wordpress list of internationalization http://svn.automattic.com/wordpress-i18n/
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Language questionI think your file must named livetv-ar.PO
I look @ core of WordPress and you are right, I see ar only
the structure of this piece of code is a standard nomenclature for internationalization (for all programs)
Also you must have exactly this kind of piece of code (of course with your informations) @ the top in your .PO.
This piece of code is generate by poedit when you have completed some options of the program with your informations
msgid "" msgstr "" "Project-Id-Version: livetv\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-08-20 17:28+0100\n" "PO-Revision-Date: 2012-08-20 17:28+0100\n" "Last-Translator: Laurent (KwarK) Bertrand <kwark@allwebtuts.net>\n" "Language-Team: Laurent (KwarK) Bertrand <kwark@allwebtuts.net>\n" "Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-KeywordsList: __;_e\n" "X-Poedit-Basepath: ../\n" "X-Poedit-Language: French\n" "X-Poedit-Country: FRANCE\n" "X-Poedit-SourceCharset: utf-8\n" "X-Poedit-SearchPath-0: .\n"But currently this part is not generate under the 1.5.+ version of poedit and then the automatic translation don’t work
"X-Poedit-Language: French\n" "X-Poedit-Country: FRANCE\n"Personally, I have download the old version 1.4.X of poedit to make my traduction.
If you have a lot of difficulties with poedit, make your traduction on the original livetv.PO, save and compress it in a zip folder and you may send me your traduction from my site http://kwark.allwebtuts.net (contact menu)
After, I make an update of the plugin with your language integrated
wordpress in your language if you have the original version http://ar.wordpress.org/
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Problems with the paginationForum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Problems with the paginationSorry for the delay,
I look @ your site
JPages works automatically with ul->li elements or Table->tr elements, it’s wherefore the JQuery code needs only your containerID of the container for elements (@ line 341 to 372 in /page-frontend/page-livestream.php)
And currently your site has this html structure
<div id="minithumb-twitch-content"> and elements here (each in a div element) </div>And This JQuery extension needs something like that
<ul id="minithumb-twitch-content"> and elements here (each in a li element) </ul>But you may cheat to try to make no changes on your css (something like that)
<div id="minithumb-twitch-content"> <ul id="IdOfYourChoiceForJQueryContainerID"> and englobe each div (each of your current div in a li element) </ul> </div>And add IdOfYourChoiceForJQueryContainerID in the containerID: @ line ~355
Also don’t forget to add the required html part for this JQuery plugin for its pagination (example @ line ~608 in the latest version)
Forum: Plugins
In reply to: [liveTV Bundle] [Plugin: liveTV Bundle] Warning after installThe plugin liveTV Bundle has 5 plugins in the same folder.
Just look @ your Dashboard > plugins section and activate some “plugin part” (view each description in your plugins section for “activation rules”)