 bluprojekt
|
After transitioning our alpha test to a Linux server, I am in beta of RoloPRess. (Thanks to David Yoo for looking into this issue initially)
RoloPress is 95% of what I’m looking for – but the limitation of no ability to upload an image is stopping me cold in my tracks.
I’m a web designer, not a code monkey. After looking at this for quite awhile, I had a hunch and placed an IMG SRC html tag with a literal URL to a test image in the Background information field and sure enough, it pulled the image no problem. All fine and dandy, but that is hand coding the image source – I’m looking for a simple way for any potential client to simply point and click and have the image upload and propagate each contacts information page – ie, take it to it’s lowest common denominator. Preferably multiple images if possible. I can’t seem to put two and two together to utilize the media upload feature of WP and have that integrate with RoloPress
Anyone have a suggestion on how to get this to work without my discovered workaround???
|
 fiscal sanity
|
Here’s how RoloPress automatically pulls in images for Contacts and Companies:
1) If an email address has been entered: RoloPress will check Gravatar to see if an avatar is associated with that email. If yes, it will show it. if no…
2) RoloPress will see if a Twitter ID has been entered. If yes, it will pull in the Twitter image, if no, the default RoloPress image will be displayed.
Uploading images is not yet supported in RoloPress.
|
 af3
|
A vote for this feature !
|
 zabule
|
Rolopress is perfect:-)
This is the only drawback of the system. I’d like to have an option to add my own picture to the contact too.
I’m from the Czech Republic and not many people here have one of the accounts a picture can be uploaded from…
|
 zabule
|
I found how to solve this and I’d like to share:)
I don’t know php, so my solution is not very elegant, but it works for me…
Attention, I remove the twitter field (I have no use for it anyway).
First, backup the following files.
Then you can edit them (and remove them with the original ones if it doesn’t work):
1) /rolopress-core/library/setup/setup-fields.php
‘title’ => __(‘Twitter’,'rolopress’),
replace with
‘title’ => __(‘Picture URL’,'rolopress’),
this only renames the form field from twitter to picture url
2) /rolopress-core/library/extentions/twitter-image.php
function get_profile_image() {
return $this->image;
replace with
function get_profile_image() {
return $this->user;
this functions originally returns the image address from twitter – I give the value from the field ‘Picture URL’ instead
3) /rolopress-default-1.5/rolopress-default/style.css
.inside li.social-twitter {
background:transparent url(img/twitter.png) no-repeat scroll left center;
padding-left:20px
replace with
.inside li.social-twitter {
display:none;
this hides the field Picture URL from the Contact Details widget
Please, write here how this worked for you 
Enjoy!
|
 zabule
|
Sorry, I forgot, at the first point do one more thing:
1) /rolopress-core/library/setup/setup-fields.php
‘prefix’ => ‘http://twitter.com/’,
replace with
‘prefix’ => ”,
this removes the twitter address from the form
|