2 tilqicom Feb 26, 2012 13:53

I updated the hacks and the demo skin, just read instructions in the plugin.
The good thing is that hacks will not be needed in b2evo v5 :)
Cool, we'll see : D How should we upgrade, by overwriting old plugin folder or uninstal> new install ? Does it make any difference.
Btw by hacks i didnt mean the hacks we had to do to get it working, but the custom hacks i made along the way after getting it work.
These are the steps to update any plugin:
- disable the plugin
- delete plugins folder from /plugins directory (keep data folders in /media if any)
- upload the new plugin
- enable it
And of course, have a backup just in case :)
upgraded the plugin, everything looks okay, except the colorbox is not working
AFAI remember there was "CROP" ability in the older version, are you going to add that ?
Maybe we could do sth like this ?
I will check this
Plugin updated to v2.3.1
* New image resize options: "crop to top", "crop to center", "crop to bottom"
sam2kb wrote:
Plugin updated to v2.3.1
* New image resize options: "crop to top", "crop to center", "crop to bottom"
nice (:
Cropping works as expected, well done (:
Btw, why do we have to upload the image twice one for large, one for small ?
Cant it create the small one from the large one ?
Finally, my large avatars are not showing up
Large are optional. We can probably create small too if a large one is uploaded and there's no existing small avatar.
Large won't show up if there's no small
well i have both small and large, but large is not showing up
Where is that, can you post a link to that post?
ok it shows now, weird.. maybe it was the cache,i or sth temprorary i dont know
another strange thing, i dont see avatars for my posts to add in writing screen.categories & blog are fine though.
You can only add avatars in Advanced mode
Thanks for updating this plugin! Will this work with my previous hack to combine the related posts with an avatar (see my School of Puppetry site in my signature)?
This plugin does not work in b2evolution v3
Er, not what I meant... I was using the site as an example of how the avatars/related posts is combined. I was hoping that if I upgraded to 4x I could keep the related posts with avatars as that is a popular way people navigate the site. I have been putting off the upgrade mainly because of this plugin.
This plugin works just like the other version. There should be no problem after update. However you may need to edit your skin a bit after upgrade to v4.1
Again, please refer to my original question:
Will this new version work with the hack to combine avatars with related posts widget? I take it that since it works like the other version, that would be a yes?
That's exactly what I mean. I don't see any reason why it would not work. If something would not work, just let me know in this thread
Ok thanks. When I have some time I'll install it and the hack and leave a comment here about if it works.
If you want to play safe, create a copy of your blog at /domain-root/new/ or similar, upgrade it, apply all the changes etc. And then, if it works fine, move it to the domain root.
I have uploaded a post avatar to a page, but it's not showing up, it's still displaying the default avatar
Post a link
sam2kb wrote:
Post a link
i will but the server is down :( f*ck, it has been stable for months now,dont know what the hell happened.
What makes it worse is recently i made a lot of improvements (installing apc, tweaking apache etc.), and it went down again.
I used to keep caches on for a long time, but for the last few days, i have disabled caches for they intervene with the front end development.
Do you still have hit logging disabled?
Tip: to request an uncached page while logged out, add some params to the URL. You will also need to add "redir=no"
cached: myblog.tld/index.php
1st attempt - fresh: myblog.tld/index.php?redir=no&whatever
2nd attempt - cached: myblog.tld/index.php?redir=no&whatever, so you just change "whatever" with "whatever1", "whatever2" etc.
By the way, you can't disable hit logging if you want to use Search cloud plugin.
sam2kb wrote:
Do you still have hit logging disabled?
Tip: to request an uncached page while logged out, add some params to the URL. You will also need to add "redir=no"
cached: myblog.tld/index.php
1st attempt - fresh: myblog.tld/index.php?redir=no&whatever
2nd attempt - cached: myblog.tld/index.php?redir=no&whatever, so you just change "whatever" with "whatever1", "whatever2" etc.
Nope, i actually never have disabled it, simply because of search cloud.
And i didnt feel the need to, cause it was pretty stable up until today.. I am still digging through logs, to see what went wrong.
Thanks for the tip
You need to tune up the server. A single b2evo shouldn't freeze the whole server, even if it gets a lot of hits. Let me know if you need help with that.
sam2kb wrote:
You need to tune up the server. A single b2evo shouldn't freeze the whole server, even if it gets a lot of hits. Let me know if you need help with that.
Yea, i did my best with whm allows me and my limited command line knowledge.I am no expert in server maintenance but i did a lot of optimizations recently, from what i read in google.
I am currently using a vps but i am not satisfied with the performance.There are some good companies that offer dedi.'s in Turkey at around 60-100 $ but they are mostly using DirectAdmin or Plesk and i am much of a Cpanel/whm guy.So if i am to migrate, i would like a cpanel/whm admin.I'd like to hear any suggestions you might have at around 60-120 $ per month for a vps/dedi (prefferredly based in Europe, definitely not in U.S) .
What are your current specs and price?
Check Hetzner, it's in Germany I believe. Very reputable provider, a lot of smaller hosting companies lease servers at Hetzner.
http://www.hetzner.de/en/hosting/produktmatrix/rootserver-produktmatrix-ex
Also since you have good traffic, you may want to get a server with a gigabit port.
Hello,
I've installed the plugin on a 4.1.3 version of b2evolution (upgraded from 4.12 by just copying the modified files from the latest patch).
Everything looks fine (I can upload pictures as avatars on post users, post, categories areas, etc) but the avatar it doesn't get displayed.
I tried another skin but the same result (my default skin I is b2evo_ru).
It behaves like the plugin is not activated even if it is :)
Do you have any idea what could be the problem?
Thanks.
You need to edit your skin, see the readme.html in plugin's directory.
Install the demo skin for reference.
I've had a problem installing this on v4.1.2. I downloaded the plugin and followed the installation steps - basically uploaded the plugin files, then overwrote the core files using the files from install_b2evo_4.1.zip. I installed and enabled the plugin from the backend, added the code to the skin... And then tried to upload an avatar to both a post and a category. I got a blank page for each (ie. the uploader redirected to a blank page) with no errors. Also no errors displayed in the logs on my Cpanel or in my files, and no avatars showing on the blog either.
I haven't tried adding in the hacks manually yet, but the install_b2evo files should have worked for this version yes?
Blank page on upload usually means that either file was too large, permissions problem or target directory is not accessible. Also try reloading plugin events on Global settings > Plugins page, there's a link on the right.
That patch should work fine for 4.1.2 and 4.1.3 versions
I checked the permissions and all files were set to 644. I reuploaded just in case, reloaded the plugin as suggested... same problem. I uploaded the files directly via Cpanel and had no problems with file sizes or accessing directories.
My post & page avatars are not working.. I can see them in writing screen but they dont work in front end..
http://www.tilqi.com/kimdir.php
Category avatars are fine though...
I checked the permissions and all files were set to 644.
I mean directory permissions. Set them to 777 or 775 recursively, starting from /media/avatars
@tilqicom
Was the previous version working with exact same skin, settings and avatars location?
sam2kb wrote:
@tilqicom
Was the previous version working with exact same skin, settings and avatars location?
Well frankly, i dont remember. I didnt used to use post/page avatars often.
Edit the plugin on line 1034
if( ($avatar = $this->get_avatar( $params['type'], $avatar_name, '#', $opt_params )) !== NULL )
{ // Display selected avatar
echo $this->get_avatar_display($avatar, $params['style'], $params['before'], $params['after'], $params['noavatar'] );
}
else
{
echo $params['type'].': '.$avatar_name;
}
sam2kb wrote:
Edit the plugin on line 1034
if( ($avatar = $this->get_avatar( $params['type'], $avatar_name, '#', $opt_params )) !== NULL ) { // Display selected avatar echo $this->get_avatar_display($avatar, $params['style'], $params['before'], $params['after'], $params['noavatar'] ); } else { echo $params['type'].': '.$avatar_name;
}
nope, no luck.
do you see something like "post: 44" where the avatar should be?
sam2kb wrote:
do you see something like "post: 44" where the avatar should be?
nope, just the default avatar and nothing else.
is there a
'size' => 'large',
param ?
How can i get the large avatar ? Facebook automatically grabs the small category avatar, which is too small for its liking.
All links in the first post, including the download link, seem to be broken by the new forum formatting. Is it possible to download the plugin from somewhere else?
@adelante
I updated the first post
Cool ! Finally : D Now i have a lot of digging in the previous versions thread for modifications/hacks.Hopefully they will still work (: