Tagged: gimme widget
This topic has 4 voices, contains 10 replies, and was last updated by BryanMiller 600 days ago.
| Author | Posts |
|---|---|
| Author | Posts |
| September 5, 2008 at 10:47 pm #6867 | |
|
taddreis |
Hi Brad, two questions. First, in the Gimme config file, is “database name” asking for the name of the main database for my WordPress site? Second, I bought myself a heart but it’s not displaying. It should be in the Donate sidebar widget. I included the script there after the link, and filled in the correct path for the location of gimmewidget.php Question 2.1 – by the way, any good way to test the display function other than buying yourself items? Only ends up costing 50 cents or so, but still : ) Hope you had an awesome CD release show tonight! And thanks for building this widget, it looks like it’s going to be really neat. |
| September 6, 2008 at 5:53 pm #6868 | |
|
Brad |
‘database name’ is whatever database you want to store the tables in. I use my wordpress database, perseonally. Is the purchase in the database table? Best way to test it is to sign up for the Paypal Developer Sandbox: https://developer.paypal.com/cgi-bin/devscr?cmd=_login-done&login_access=0 Behaves just like Paypal but with imaginary money. |
| September 8, 2008 at 9:32 am #6869 | |
|
taddreis |
Great, got it going, thanks! Few more questions, maybe this will help other folks, too… 1) The icons display five in one row and only four in the next, with the tenth icon down by itself on a third row. 2) My hearts have messages listed in the table, but only one of the heart messages will actually display when the cursor is on it. 3) What code should I change in gimmewidget.php to remove the “support [artist]” line above the icons? |
| September 9, 2008 at 10:40 pm #6870 | |
|
Brad |
1) That is weird. Does that happen when you view the widget by itself? Wondering if surrounding HTML is maybe influencing it. 2) That’s also weird. Are you getting any Javascript errors? Is it online somewhere I can look at it? 3) That’d be the line that says:
Or when you include gimmewidget.php do it like this:
|
| September 10, 2008 at 10:10 am #6871 | |
|
taddreis |
Sure, you can have a look at http://www.taddreis.com for the sidebar or http://www.taddreis.com/gimme-test for a regular page display. Not getting any JS error messages, but see what you think. Thanks again for taking the time. My feelings about this widget are best expressed by saying I’m so excited, it’s the best thing that I’ve ever found… |
| September 10, 2008 at 6:02 pm #6872 | |
|
Jamais Vu |
i had that problem too, ill look to see what i did to fix it and let you know. -D |
| September 10, 2008 at 7:59 pm #6873 | |
|
Jamais Vu |
i found it (what a pain that was), in the section: [code] $info[comment] = addslashes($info[comment]); print <<<HTML if($i == ($GLOBALS['WIDGET_ITEMS_PER_LINE'])) { $info = mysql_fetch_array($sql); } I think i just changed the 1st i=0 to i=1 and lost the -1 on the if($i == ($GLOBALS['WIDGET_ITEMS_PER_LINE'])) That should fix it. i hope. |
| September 11, 2008 at 1:53 pm #6874 | |
|
taddreis |
That fixed the row problem. Two little edits by hand. Thanks, DP! |
| September 11, 2008 at 7:11 pm #6875 | |
|
Jamais Vu |
Excellent Tad! Thanks again Brad for this awesome script! After looking at the code again, it’s pretty friggin’ nifty! lol…nifty, im sad. |
| September 11, 2008 at 8:40 pm #6876 | |
|
Brad |
Excellent! |
| October 1, 2010 at 2:54 am #6877 | |
|
BryanMiller |
I’m not getting the option to enter message, after I click on one of the pictures. I’m not sure where I made my mistake here. http://millershow.tv/gimme I uploaded structure.mysql to my database as is, and that table is now part of the database my site is hosted on. I also filled out the Config.php and uploaded all the files to a folder called “gimme” that clearly created a page, but I have messed it all up somehow, I think. |
You must be logged in to reply to this topic.





