[email protected]
Forum Replies Created
-
Nick, adsleeblythe,
Not sure if you guys ever got an answer, but I did a quick method for us to work.
First, the %URL% variable will NOT work in any custom field.
Second, In Salesforce.com, add a field for your URL to be stored (set to 255 text length.)
You’ll notice a 15 digit code assigned to the field. (When you export the HTML from SalesForce, it is the “id” of that field).
In the SF plugin, on your form, create a field. The field name should be the 15 character code from above. Enable the field, and make it required, and HIDDEN. Name it something, and put something into the default value field (anything is fine, this will be completely replaced.)
Move on to the Plugins > Editor > and edit the main (salesforce-wordpress-to-lead/salesforce.php) file.
Search for the following string:
$post['lead_source'] = str_replace('%URL%','['.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].']',$options['forms'][$form_id]['source']);
Right below that, add the following snippit:
$post['00N40000006Wg4i'] = '['.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].']';
Notice that my code is “00N40000006Wg4i”, MAKE SURE YOU REPLACE THIS WITH YOUR OWN!
Save the file and that should do it!
Forum: Plugins
In reply to: [Sync Facebook Events] [Plugin: Sync Facebook Events] Nothing happensAll,
From what I’ve found, there needs to be an access token, otherwise it will fail. I’m not positive if thats the issue, but it seems like the plugin is missing that. I’m having the same issue, so I hope someone on here might know how to update the plugin to include that?
Forum: Plugins
In reply to: [Facebook Album] Activate Lightbox?Hello,
I am on WordPress 3.5.1, and everything works perfectly except when I click on the thumbnail, it gives me an error “Image cannot be loaded. Make sure the path is correct and image exist.”
Could you help me out with this?
Forum: Plugins
In reply to: [Youtube Channel Gallery] Broken thumbs layout afyer last upgradeHello,
I can’t seem to get the columns to work on the widget. Like if it always is set to 1 column.
Trying the shortcode on a regular page works fine. The issue only happens on my sidebar. Is this common? How to fix?
Yes,
I think this would be a good addition to the plugin, as I can see this plugin being used to create reports for end-users by defining the user ID in WP.
I will be using this to tie in a key generator DB and WP by allowing resellers to view all keys that their account is tied to in a specific page.
Reseller 1: Key 1, 3, 4, 5, 6, 9
Reseller 2: Key 2, 7, 8,Make sense? Just thought you might like a reference as to how this is being used.
Thanks, I will try this today. Can I use any toekn or only the user id?
Thanks!
Eli,
Were you ever able to complete this? I am needing something VERY similar.
SELECT * FROM CODES WHERE {USER_ID}
Would show all records where User_ID (Or other WP Token) matches.
Any help would be appreciated.
Thanks,
Fernando