bravenewniche
Forum Replies Created
-
Forum: Plugins
In reply to: WordTube – anyone added LongTail plugins?Ok, had to get some money on the old credit card first… ??
So having bought my licence, I tried this change to the wordtube.class.php file:
$this->swfobject->add_attributes( 'id', 'WT'.$this->counter); $this->swfobject->add_attributes( 'name', 'WT'.$this->counter); // Modified to enable JWPlayer Viral plugin $this->swfobject->add_flashvars( 'plugins', 'viral-1' );
And it worked perfectly.
You may not notice the Viral plugin at work until you look up in the top left hand corner of the video and you’ll see a little arrow which expands the choices for embedding, etc.
Not keen on that as a user-interface, but it’s working!
Forum: Plugins
In reply to: WordTube – anyone added LongTail plugins?Finally getting back to finding an answer to this question.
According to the Long Tail Video site, adding a plugin is as simple as changing the variables in the SWFobject, so perhaps I can try that in WordTube.
Looking in wordtube.class.php, there’s a place to set the swfobject variables:
// add all params & vars $this->addParameter(); $this->ReturnLocation( $url ); $this->globalFlashVars(); $this->swfobject->add_flashvars( 'image', rawurlencode($image) ); $this->swfobject->add_flashvars( 'title', rawurlencode($this->media->name) ); $this->swfobject->add_flashvars( 'linktarget', '_self' ); $this->swfobject->add_flashvars( 'autostart', $autostart, 'false', 'bool'); $this->swfobject->add_attributes( 'id', 'WT'.$this->counter); $this->swfobject->add_attributes( 'name', 'WT'.$this->counter);
Will let you know how the experiment goes – I’m off to buy the Viral plugin licence.
Forum: Plugins
In reply to: cForms – one form displays, the other doesn’tSince I was getting the conflict between Inline Post and cForm in the body of page, I turned to the page template and tried using Get_a_Post before The Loop, putting the content into a variable, and then calling the variable inside The Loop, like this:
<?php if (is_page(78)) { get_a_post(76); $contactInfo = the_content(); } ?> Then later, inside The Loop: <?php if (is_page(78)) { print '<div id="contactbox">'; echo $contactInfo; print '</div>'; } ?>
However, the problem there was that even though I was trying to assign the_content() to a variable, the_content() immediately printed out.
So I used this at the top of the page instead:
<?php if (is_page(78)) { get_a_post(76); $contactInfo = get_the_content(); }
And everything works fine – both the post content and the form show up in their proper places.
Forum: Plugins
In reply to: cForms – one form displays, the other doesn’tWell, I’ve sort of resolved this.
I had a call to an Inline Post ‘[[‘ 42 ‘]]’ on the same page, and when I removed that, the form displayed no problem…
Now to figure out how to get them to live together in peace and harmony.
Forum: Plugins
In reply to: Can’t delete bookHad a client add a new book to their AmazonSimpleAdmin collection, and the entire collection list disappeared in the admin section, with a fatal error showing in the AsaCore.php file (at line 654 I believe)- sorry I didn’t copy the error message.
Looking at the AsaCore.php coding, it was a line to do with the URI of the book.
When I found this post I assumed it was an ‘ apostrophe issue. I deleted the book from the database, then the collection reappeared. Turned out several books in the collection have an apostrophe, so clearly we were running a version of AmazonSimpleAdmin which had fixed the issue here.
So I looked up the book on Amazon, and it turns out it has ( ) in the title… so I suspect that’s what caused the breakage.
Not many books have that in their title, so I just told my client to avoid ones like that for the moment – any ideas on how this or other potential symbol problems can be avoided in future. Not enough of a PHP coder to know what to do here…
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Images in footer.phpAdamHeine is right about the nggDisplayRandomImages function, but you have to have the NGG Widget Plug-in installed.
I had NGG, but didn’t need the widget portion, so it wasn’t activated. As soon as I activated, everything worked just fine.
Forum: Plugins
In reply to: WordTube – file uploading tipJust noticed on the WordTube site that the new version for WP 2.7 has the upload screen under the MEDIA bar rather than the TOOLS bar – more intuitive, thanks Alex.
https://alexrabe.boelinger.com/2008/11/22/wordtube-21-for-wordpress-27/
Forum: Plugins
In reply to: Does Adserve support flash ads?When Adserve produces the code to link to the jpg, gif, or whatever, it uses a regular sort of link. I realized later that it would need an OBJECT html code in order to render an SWF file.
Have had a quick peek at the Adserve code – seems it would be a matter of checking the mime type of the file, and then coding it to use the OBJECT code for SWF’s. I’m what you’d call a PHP dabbler, so the code is still eluding me.
Forum: Plugins
In reply to: Does Adserve support flash ads?I’m not seeing anything in Adserve code that would block SWF files (and I’ve tried several different SWFs to make sure it’s not some file corruption).
The SRC for the file is being displayed correctly, both in the Admin panel and on the site… So why can’t the file display?
Stumped on Vancouver Island
Forum: Plugins
In reply to: Does Adserve support flash ads?I’ve tried uploading SWF files, but they won’t display either in the Adserve admin section or on the site itself (you simply get the title of the ad and the link, but no flash…)
Anyone know of a way to get this working – been looking through the code for mime-type limitations.
Forum: Plugins
In reply to: Podpress file path problemFOLLOW UP
So, a few days later and we uploaded a bunch more MP3s – all of a sudden, they’re showing up in the drop down menu in Posts, with only the file name and no path whatsoever… Just as Dgold said above.
Had to go back into General Settings, enter
https://www.mysite.com/wp-content/podcasts/
and everything’s working fine.
Forum: Plugins
In reply to: Podpress file path problemAfter saving that post the second time, I’m now seeing the drop down menu, Dgold. I wonder if, because it was my first MP3 uploaded, that the system hadn’t started cataloguing them…??
However, what I see in the drop down menu is
/path/to/podcastfiles/mysounds.mp3
and if I go back to General Settings in PodPress and enter
/path/to/podcastfiles
I get the same problem again with having two paths in the final URL in the post, and therefore the file won’t load… weird
Forum: Plugins
In reply to: Podpress file path problemI changed the WordPress URL in the WordPress settings, and added https://www., which changed that first https://mydomain.com to https://www.mydomain.com, so clearly podpress is using the WordPress settings to inject the base URL for the site – so why is it asking for a full URI in the podpress settings???
Going to try changing podpress general settings to give only the path from root to the podcast file folder…
Well, that’s the answer to that question.
1. Podpress uses the URL in your WordPress settings
2. In podpress General Settings, enter the URI as /root/to/files/Now, presumably we only need to add the file name in the actual post, under Location….
Tried that, but it keeps reverting to
/wp-content/podcasts/20081007.mp3
when I re-save the post.
Ok, so now I go back and completely clear the URI in General Settings for Podpress…. It works!
So to recap what actually worked for me:
1. Podpress uses the URL in your WordPress settings
2. In podpress General Settings, leave the URI blank
3. In the individual post, under Location, enter /path/to/podcastfiles/mysounds.mp3Counter-intuitive to say the least, but it’s working for me.
Forum: Plugins
In reply to: [Plugin: AdServe] Creating ZonesAdserve is very useful and much appreciated.
But could you replace the portion in the readme.txt where it says
* Modify your code (or theme code) adding *AdServe(“zone”)*
where *zone* is the zone definition, i.e. AdServe(“music”)and have it read
* Modify your code (or theme code) adding <?php AdServe(“myzone”); ?>
where *zone* is the zone definition, i.e. <?php AdServe(“music”); ?>Forum: Plugins
In reply to: WP-Adserve not showing in my plugins listThanks kendkoll! That was it
Must keep reminding myself that plugins don’t always follow a consistent structure ??