Related Topics


[Video CMS v4]logo error help  (Read 2632 times) Print

1 2 All B


leen12  October 09, 2013, 07:27:34 PM

hey

ok so after rc2 was released i made myself a logo its not great but will do for now, anyway i was using it for a while but was not happy with its position as it was slightly off and not centered

i then removed the logo and waited a bit for someone else to ask but no luck yet so here it is

whats the correct size of the logo? i seen on the demo site its 145 x 45 i tried that size and it puts my website off completely

135 x 35 is too small and the image is in wrong position

i also tried to take the logo from the demo site and test it on my site to see if it was the correct size
now when i try upload a new logo it shows as my old shitty logo wrong position sets the website off and a few other problems,

i cannot replace this image now just remove it

if i try another image it returns the same

any help on this matter would mean a lot

or even some help on what the correct size of logo should be or how to fix the errors when it is the wrong size?

thanks

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 09, 2013, 07:33:24 PM

The header point is simple, it has some rules for the logo, rules you can change for yourself and setup how you want your website.

In VQQ this rules are modified to fit the logo:

Code
.logo {
display: block;
float: left;
padding: 1px 0 0;
}


file


Code
tpl/main/css/vibe.style.css


PHPVibe by default has a bigger padding.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 09, 2013, 07:42:03 PM

ahh i see i will give it a go thanks,

im trying to upload another logo, every image i upload shows as this image any idea why?


the one im currently trying to upload is from phpvibe demo site

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 09, 2013, 08:22:56 PM

It recodes the image, and if it's transparent png, it doesn't keep transparency.
But you can overwrite it via ftp if it's transparent.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 09, 2013, 08:38:37 PM

hmm i dont know i tried a few times, even cleared cache and deleted the files from the website

all images return the same image

i also tried to overwrite via ftp but still the same image

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 09, 2013, 08:54:32 PM

It's browser cache I guess. Did you delete it and reupload it? Cause I guess overwrite will fail due to permissions

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 12:09:36 PM

yes i tried that a few times

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 01:22:21 PM

Show me the site, it's impossible if you overwrite it via ftp to not change :)

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 01:34:33 PM

ok i removed the logo but i will reupload it again to show you

http://viralwire.co.uk

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


leen12  October 10, 2013, 01:37:01 PM

sorry i just checked again must be something wrong with my logo

i dont know what though it is transparent and stuff so idk what the problem is,... il have to make a new one and try it

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 01:38:34 PM

Ok, just place the logo as uploads/site-logo.png and don't use the uploader, use ftp...that's all.
If you can't overwrite it, delete it (not from site, but via ftp) and upload the logo with name site-logo.png and you're set.
I don't really understand why you can't figure this stuff out...


Edit : You probably got them mixed sometime :)

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 01:40:47 PM

it must be as i was using the same image under different modifications,

i tried that a few times yesterday and they all returned the same image, today seems fine but it must have something to do with the transparency of my image

thanks for the help anyway

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


leen12  October 10, 2013, 01:55:33 PM

its happening again =/

i uploaded my new logo via ftp, i can still see the old logo from your demo site,

i overwrote the site-logo.png

still no change, deleted website cache and browser cache still same..

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


leen12  October 10, 2013, 04:40:05 PM

this is weird lol... the site-logo.png in my website ftp is what i want, on the website its an old one,

cleared cache a few times, browser cache and a few other things,

even the embedded one on here is the old one.. wtf?

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 05:48:58 PM

I think you are doing something terribly wrong! :)

Steps:

Upload a logo named site-logo.png (VIA admin)
Go via ftp to /uploads
Delete site-logo.png
Upload transparent site-logo.png (VIA FTP only).


Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 05:55:07 PM

ok that worked.. now my logo has a black background it should be transparent

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 05:55:23 PM

For easy browser cache clean, open http://viralwire.co.uk/uploads/site-logo.png in browser, refresh till it show the one, then refresh the site :)

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


@Mario  October 10, 2013, 05:56:12 PM

You didn't put the transparent one, look for yourself http://www.viralwire.co.uk/uploads/site-logo.png

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 06:33:47 PM

this is serious hassle just to change the logo lol =/

ive done them steps numerous times, as far as i know my logo is transparent, i will upload it to imageshack in a minute to test it here,


Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


leen12  October 10, 2013, 06:43:42 PM


Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 07:15:37 PM

Well, the logo on server is not transparent, you are either copying the wrong logo, or i don't know...this has nothing to do with phpvibe, and the server does not modify images on ftp upload...

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 07:16:47 PM

hmm i dont know what the problem is, all my logos are transparent

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 07:19:14 PM

Can you e-mail your ftp so I can have a shot? And if I do it...you owe me a pizza

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 07:19:47 PM

lol =P

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 07:33:38 PM

You owe me a pizza.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 07:39:01 PM

did it work? i still see black background =/

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 07:41:24 PM

Did you try to reupload it or something? Cause it got changed now.


I've setup http://www.viralwire.co.uk/uploads/nmzg.png
as logo., while you have now (again) http://www.viralwire.co.uk/uploads/site-logo.png
as logo.


Btw, you have weird stuff going on there, you can't even see site-logo.png on ftp (so it's impossible to overwrite)

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


@Mario  October 10, 2013, 07:48:04 PM

Btw, all I did was place that file in upload, run once in php

Code
update_option('site-logo', 'uploads/nmzg.png');


and cleared your cache.




Like...2 minutes  ;D

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 07:55:40 PM

awesome thanks very much mario,

no i dont think i did anything, just cleared the cache,

as for seeing the site-logo.png i can see it in ftp but when i try overwrite its the same image,

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 08:05:57 PM

Then your server is haunted :)) Some virus died on the line and turned into a ghost :))

Sorry, I has a funny day :D

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 08:10:14 PM

ahh sorry about that i had the page loaded after i uploaded the last logo, i then refreshed it and that must be what changed the logo,

i realized this becuase i just did it again lol,

so i run this
Code
update_option('site-logo', 'uploads/nmzg.png');

in php myadmin?

im getting this error but im probably doing it wrong lol
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update_option ('site-logo', 'uploads/nmzg.png')' at line 1

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 08:12:08 PM

Hell no, it's commented in index.php (the root one), you can uncomment it and refresh once the page.
You can't run php in a mysql manager :)




Code
include_once($com_route);
//update_option('site-logo', 'uploads/nmzg.png');


to


Code
include_once($com_route);
update_option('site-logo', 'uploads/nmzg.png');

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


@Mario  October 10, 2013, 08:15:34 PM




If you wanna use phpmyadmin, why not just go to vibe_options, find it, edit the option.
Once again : You can't run php in phpmyadmin.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 08:20:29 PM




If you wanna use phpmyadmin, why not just go to vibe_options, find it, edit the option.
Once again : You can't run php in phpmyadmin.
lol tell em jackie!

no i dont care what i use i just thought that was what i had to do lol, anyway i tried doing that before you said it but im not sure if it worked or not although i did not clear cache that time,

anyway all is fine now sorry about all these noob questions, im trying to learn just

thanks again

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap


@Mario  October 10, 2013, 08:33:51 PM

No worries, and sorry for my funny moods :D Don't get offended or something, just trying to be funny here :)

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


leen12  October 10, 2013, 08:48:00 PM

ino dont worry =P :o :( >:( ;D ;) :) ::) ??? 8) :-X :'(

Logged
http://hip-hop99.com best hip hop music website
http://social-nuke.com free facebook likes and shares
https://wppluginscheap.com Wordpress plugins and themes cheap