At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!
![]() ![]() |
Jul 3 2003, 09:37 PM
Post
#1
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
I followed the Virtual Venus tutorial to the letter. I have all the plug ins and modules installed and the overlib script. My category is being pinged properly but the list isn't showing up in my sidebar. Right now I have a list using
CODE <MTPings category="nowplaying" lastn="10"> <$MTPingExcerpt$><br /> </MTPings> and that works but there is no formatting or anything. If you look at my page, the include incoming.php call is between the Listening list and the Reading list on the left under Currents. Nothing shows there but a blank space and that's how it was before I used the above code. Please help. My incoming.php index template and regex module templates are copied and pasted from the tutorial. |
|
|
|
Jul 3 2003, 11:33 PM
Post
#2
|
|
|
Group: Members Posts: 8,577 Joined: 11-October 01 From: Vancouver, WA Member No.: 777 |
real quick before I head to bed....
I see this on your sidebar in the source: CODE <b>Listening:<br></b> <span class="mntxt"> Switchblade Symphony - Clown Linkin Park - Somewhere I Belong Switchblade Symphony - Sweet Switchblade Symphony - Rain Gerry Raferty - Baker St. Switchblade Symphony - Dissolve (remix) Concrete Blonde - Bloodletting </span><br> So something is being generated, unless you uploaded that manually. For there to be formatting and albums on hover, you'll want to check out the code in the tutorial under "Create a New Index Template named Incoming with an output file of incoming.php." Now, if you did upload that manually... then maybe log into your blog and go to the category screen, and view the category pings for nowplaying. Make sure that they are recent, that will confirm whether or not winamp is sending them. Kristine -------------------- start here - forum readme! | MT Wiki - FAQ♥irtual ♥enus | mt-plugins | plugin manager (beta 0.1.8)kdlb | collectics | love | blogplates ring | trk blogstyles: easy to use stylesheets for MT blogs! Need an easy answer? TypePad! Blog and hosting all in one!! |
|
|
|
Jul 4 2003, 10:01 AM
Post
#3
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
The list being generated is from the tags:
CODE <MTPings category="nowplaying" lastn="10"> <$MTPingExcerpt$><br /> </MTPings> and not from the incoming php file. I do have the Incoming template and the incoming.php. I do have the incoming.php and Incoming template added. My category is pinging correctly. So, in a nutshell, I have all the necessary plug ins and templates. Winamp is pinging my blog but the incoming.php doesn't seem to be generating anything. |
|
|
|
Jul 4 2003, 11:36 AM
Post
#4
|
|
|
Group: Members Posts: 8,577 Joined: 11-October 01 From: Vancouver, WA Member No.: 777 |
In the whole incoming.php page, NOTHING is showing up?
CODE <$MTInclude module="regex"$> <MTMacroApply> <MTPings category="incoming" lastn="8"> <div style="font-size:11px; padding:2px;line-height:9px;font-family:tahoma, sans-serif;"> <? if ("<$MTPingTitle$>" == "Broadcast Stopped") { echo "<em>WinAmp is off right now!</em><br />"; } else { > <MTIfEmpty var="PingBlogName"> <$MTPingExcerpt convert_breaks="0"$> </MTIfEmpty> <MTIfNotEmpty var="PingBlogName"> <amazon keyword="<MTPingBlogName>"><$MTPingExcerpt convert_breaks="0"$></amazon> </MTIfNotEmpty> <? } ?> </div> </MTPings> </MTMacroApply> <span style="font-size:9px;font-style:italic;">updated <$MTDate format="%m/%d/%y %X"$></span><br /> If nothing else, it should be showing the MTPingExcerpt section with a div above it and the date below it. You might check to see if any of your songs have artist and album tags filled in. I'll try to get back to you later, but I'll be out celebrating the fourth w/my family Kristine -------------------- start here - forum readme! | MT Wiki - FAQ♥irtual ♥enus | mt-plugins | plugin manager (beta 0.1.8)kdlb | collectics | love | blogplates ring | trk blogstyles: easy to use stylesheets for MT blogs! Need an easy answer? TypePad! Blog and hosting all in one!! |
|
|
|
Jul 4 2003, 11:50 AM
Post
#5
|
|
|
Group: Super Administrators Posts: 15,212 Joined: 8-November 01 From: Plano, Texas Member No.: 1,274 |
I'm clearly still having the problem I emailed you about. This is all I see in the textarea box for incoming.php:
CODE <$MTInclude module="regex"$> <? if ("<$MTPingTitle$>" == "Broadcast Stopped") { echo "WinAmp is off right now!"; } else { > <$MTPingExcerpt convert_breaks="0"$> <$MTPingExcerpt convert_breaks="0"$> <? } ?> updated <$MTDate format="%m/%d/%y %X"$> Here's what the regex modules look like: 1. CODE Amazon Price: \'>Purchase', STICKY, TIMEOUT, 2000, CAPTION, ' by ');" onmouseout="return nd();"> 2. CODE '+EndPrice+''+PurchLink+''+PurchEnd, STICKY, TIMEOUT, 2000, CAPTION, ' by ');" onmouseout="return nd();">
-------------------- |
|
|
|
Jul 4 2003, 12:26 PM
Post
#6
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
QUOTE (kadyellebee @ Jul 4 2003, 03:36 PM) In the whole incoming.php page, NOTHING is showing up? Nope. It's coming out blank. |
|
|
|
Jul 12 2003, 10:38 PM
Post
#7
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
*Bump?
|
|
|
|
Jul 12 2003, 10:45 PM
Post
#8
|
|
|
Group: Members Posts: 8,577 Joined: 11-October 01 From: Vancouver, WA Member No.: 777 |
On the tutorial, all you can see is what you pasted? Or in your template inside of MT?
Today I changed all of the text areas on the Virtual Venus tutorial to have the html versions of the < and > - maybe see if that helps? Girlie had said she was getting an error on the page in IE5.5, so that's what prompted it. Here's the incoming.php template in case you still are having issues getting it from the tutorial: CODE <$MTInclude module="regex"$> <MTMacroApply> <MTPings category="incoming" lastn="8"> <div style="font-size:11px; padding:2px;line-height:9px;font-family:tahoma, sans-serif;"> <? if ("<$MTPingTitle$>" == "Broadcast Stopped") { echo "<em>WinAmp is off right now!</em><br />"; } else { > <MTIfEmpty var="PingBlogName"> <$MTPingExcerpt convert_breaks="0"$> </MTIfEmpty> <MTIfNotEmpty var="PingBlogName"> <amazon keyword="<MTPingBlogName>"><$MTPingExcerpt convert_breaks="0"$></amazon> </MTIfNotEmpty> <? } ?> </div> </MTPings> </MTMacroApply> <span style="font-size:9px;font-style:italic;">updated <$MTDate format="%m/%d/%y %X"$></span><br /> Let me know if that helps! Kristine -------------------- start here - forum readme! | MT Wiki - FAQ♥irtual ♥enus | mt-plugins | plugin manager (beta 0.1.8)kdlb | collectics | love | blogplates ring | trk blogstyles: easy to use stylesheets for MT blogs! Need an easy answer? TypePad! Blog and hosting all in one!! |
|
|
|
Jul 12 2003, 11:37 PM
Post
#9
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
Hmm.. no, it didn't help. I'm still not getting anything and I have the incoming.php file done right. I have the include call done right but I'm wondering if it's not a problem with the overlib script. I don't know. I'm lost. If you want, I'd be more than happy to give you blog access.
|
|
|
|
Jul 13 2003, 06:20 AM
Post
#10
|
|
|
Group: Super Administrators Posts: 15,212 Joined: 8-November 01 From: Plano, Texas Member No.: 1,274 |
Yep, Kristine - that took care of the Javascript error!
-------------------- |
|
|
|
Jul 13 2003, 02:29 PM
Post
#11
|
|
|
Group: Members Posts: 8,577 Joined: 11-October 01 From: Vancouver, WA Member No.: 777 |
Girlie - woo! That's good, I'm glad that did it
Did you check your regex module to see if you had less of the code than I originally posted? This is what *should* be in the module, rather than the shorter code you posted in your #1 example. CODE <MTMacroDefine name="amazon" ctag="amazon"><MTIfNotEmpty expr="[MTMacroAttr name='keyword']"><MTAmazon associateid="loveproductions" search="[MTMacroAttr name='keyword']" method="Keyword" line="music" lastn="1"><a href="<MTAmazonLink>" title="Buy now at amazon.com - only <MTAmazonSalePrice>!" onmouseover="return overlib('<img src=\'<MTAmazonSmallImage>\' align=\'left\' border=\'0\' hspace=\'5\' /><br />Released: <b><MTAmazonReleaseDate format="%b %Y"></b><br />Amazon Price: <b><MTAmazonSalePrice></b><br /><a href=\'<MTAmazonLink>\'>Purchase</a>', STICKY, TIMEOUT, 2000, CAPTION, '<MTAmazonTitle> by <MTAmazonArtist>');" onmouseout="return nd();"><MTMacroContent default="[MTAmazonTitle]"></a></MTAmazon></MTIfNotEmpty></MTMacroDefine> Are you sure that the songs you are playing have the ID3 info in them? When you go into the category pings for your "nowplaying" category, can you see the info in the titles? For my latest ping (on the category trackback popup), I see "Beth Orton - Beth Orton - Beautiful Way" -- the Artist is Beth Orton, and the CD is called Beth Orton, and the song is Beautiful Way. Oh, and if it was a problem with the overlib script, you'd be getting script errors on your page, but there's actually nothing appearing on your page, so it can't just be that. Kristine -------------------- start here - forum readme! | MT Wiki - FAQ♥irtual ♥enus | mt-plugins | plugin manager (beta 0.1.8)kdlb | collectics | love | blogplates ring | trk blogstyles: easy to use stylesheets for MT blogs! Need an easy answer? TypePad! Blog and hosting all in one!! |
|
|
|
Jul 13 2003, 08:59 PM
Post
#12
|
|
|
Group: Members Posts: 9 Joined: 3-July 03 Member No.: 13,010 |
Yes, the song info is showing up allright in the pings list.
|
|
|
|
Aug 5 2003, 11:40 AM
Post
#13
|
|
|
Group: Members Posts: 43 Joined: 18-July 03 From: Northern California Member No.: 13,613 |
I was ready to toss MT out but I got it working .... now for my question... I followed everything listed at Virtual Venus: Winamp Hoverable Playlist tutorial. I can see the incoming pings... and the played songs on the index of my blog.... I get an error when trying to make the "in" template it says:
QUOTE Build error in template 'In': Error in I'm not sure about this part: CODE I created a new Module named regex to store the amazon definition. Paste the following into it: <MTMacroDefine name="amazon" ctag="amazon"><MTIfNotEmpty expr="[MTMacroAttr name='keyword']"><MTAmazon associateid="loveproductions" search="[MTMacroAttr name='keyword']" method="Keyword" line="music" lastn="1"> I'm not sure if that part goes into the "in" template? Or....? That's where I get a lil confused. Someone? Anyone? I just deleted the "in" template & deleted the inclusion tag from my blog index until I figure it out. This post has been edited by girlie: Aug 6 2003, 08:28 AM -------------------- i <3 toast!
|
|
|
|
Aug 6 2003, 07:35 AM
Post
#14
|
|
|
Group: Members Posts: 43 Joined: 18-July 03 From: Northern California Member No.: 13,613 |
er anyone?
-------------------- i <3 toast!
|
|
|
|
Aug 6 2003, 08:29 AM
Post
#15
|
|
|
Group: Super Administrators Posts: 15,212 Joined: 8-November 01 From: Plano, Texas Member No.: 1,274 |
You need to put that code in a Template Module, and call it "regex".
-------------------- |
|
|
|
Aug 6 2003, 01:46 PM
Post
#16
|
|
|
Group: Members Posts: 43 Joined: 18-July 03 From: Northern California Member No.: 13,613 |
a random one? or a specific one?
-------------------- i <3 toast!
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 11.24.09 - 11:30 PM |