• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Theme design

Started by shpeedie,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shpeedieTopic starter

has anyone created a custom Theme for phpVibe ?

i notice there is almost nothing to customise the look, so either people must modify the core templates files, or everyone must use a similar looking platform.

Anyone got some modified examples ?
  •  

marius20foc

Hi, if you don't know your way in CSS then it's better for you to wait for a themes pack, it's promised to be released sometime soon(guys said in other posts that they are in coding phase).

But simple stuff(I'm using 3.3), like changing background color, image, header color, rearranging blocks, fixing footer text/colour/content, etc ... it easy...you have a main css file in what you cand modify stuff(please backup first)...
  •  

PHPVibe A.

I've seen PHPVibe sites I could bet they are not PHPVibe by looks :) Thing is people don't usually share their stuff here in the forum, or tips, links, etc.

Yes, marius is right, we are coding some themes. Also taking suggestions.

shpeedieTopic starter

OK thanks for the tips.

Im looking at getting a new Theme and re-design coded for 3.5 soon anyway, and then i might wait to see what themes come out later this year

Thanks
  •  

SonicSync

I am creating a few themes. Though the responsive.css and bootstrap is such a pain in the ass to work around. I literally had to start from scratch for my themes. Will post a few once I get around it fixing a few bugs here and there.
  •  

PHPVibe A.

You don't need to use the same css/js as the default themes, use what ever framework/ui you preffer, just follow the php and jquery interactions.

ollipaust

hi

i modified the default theme and after couple of hours spending time on it, I figured really well how it works with phpVibe. Its actually really easy and I like it a lot, since I tend to be a lazy guy.

i'm not 100% done yet, but i wanna show you how far I've come (I started with re-layouting the homepage)
Cant wait to show you the final theme :) but there's still a lot to do

Current Theme:
  •  

marius20foc

I love it just the way it looks now...
Is that wide image fully responsive? That top menu looks nice too...

Are you working right now on it? it's offline from what I can see.
  •  

vipe

So how much cost template custom?
  •  

ollipaust

Quote from: marius20foc on
I love it just the way it looks now...
Is that wide image fully responsive? That top menu looks nice too...

Are you working right now on it? it's offline from what I can see.

hi i am currently looking for another webhoster, thats why i took the website off.
but i already decided who's my next hoster, after hours of researching. i hope they are good ^^

and yeah, i made 3 images in different sizes and used css-hacks.
for example, when the screen-width is below xxx pixels, then
the background image for the div is smaller and fits in the mobile screen
  •  

Lunar

Changing some basic CSS is very simple, just edit vibe.style.css and bootstrap.css in tpl/main/css.

I for example changed the colors from red to blueish to better match with the JWPlayer. If you have Firebug it's incredibly simple to find what line of css to change.
  •  

PHPVibe A.

Mario is working with uikit and other css ui kits, to try to make the upcoming skins on them, bootstrap is really heavy.

OliverJ

Quote from: ollipaust on
hi

i modified the default theme and after couple of hours spending time on it, I figured really well how it works with phpVibe. Its actually really easy and I like it a lot, since I tend to be a lazy guy.

i'm not 100% done yet, but i wanna show you how far I've come (I started with re-layouting the homepage)
Cant wait to show you the final theme :) but there's still a lot to do

Current Theme:


I have a question how you make that the homeblock show 4 Videos ?
What i have to change ? Sorry i have no plan....
  •  

j9uddin

tpl/main/css/vibe.style.css on line 146 to 'width:' decrease the width enough so 4 videos show.
  •  

OliverJ

Quote from: j9uddin on
tpl/main/css/vibe.style.css on line 146 to 'width:' decrease the width enough so 4 videos show.
Hey line 146 sure ? there is.
.video-thumb .clip {position:absolute; top:0; left:0; bottom:0; right:0;}
But thanks for helping me :)
  •  

OliverJ

I found the solution :) thank you.
  •  

PHPVibe A.

Guys, when you design your sites, make sure you keep in mind global availability, because if you have an high resolution, it doesn't mean your visitors will also.
I've seem 5-6 inline videos, that turn to a non-understandable thumb size on the current grid on a normal 1366x768 display.

niaskywalk

If I am working on a couple different themes because my client wants to change his themes from season to season, where can I switch from 'main' to '{custom}'. I can probably find it eventually, but asking saves so much more time.


TIA,
Nia
~ Nia

Apolonia Skywalk
Indigo Grove Web Production
  •  

PHPVibe A.

load.php in root.
// physical path of theme
if( !defined( 'THEME' ) )
	define( 'THEME', 'main' );


but you can also define it in vibe_setts.php or vibe_config.php

define( 'THEME', 'mycustom' );

niaskywalk

Thank you! That would have taken a while to find.


Now I am defining the theme in vibe_setts.php because I can explain to the guy where to find it easier this way. And eventually I will make a selector on the Moderator page unless you beat me to it, however, at the moment when I go there I get a Notice:


Notice: Constant THEME already defined in /vibe_setts.php on line 52



I would like to suppress this, but I am not sure where the logic is yet. If you could let me know, it would be totally appreciated. The guy I am working with will freak out seeing that code and then learn to ignore it and then he won't tell me of other errors he encounters. Its just the way he is. So I would like to at least adjust it to "Current theme is {themename}" or something of that manner.


Thanks for all the help!

~ Nia

Apolonia Skywalk
Indigo Grove Web Production
  •  

PHPVibe A.

In the admin panel?

I only see one declaration

// physical path of admin
if( !defined( 'ADM' ) )
	define( 'ADM', ABSPATH.'/'.ADMINCP);


Nothing else under the encrypted code.

PHPVibe A.

Remove this from load and see if has any effect

// physical path of theme
if( !defined( 'THEME' ) )
	define( 'THEME', 'main' );

niaskywalk

Quote from: Alexander on
Remove this from load and see if has any effect

// physical path of theme
if( !defined( 'THEME' ) )
   define( 'THEME', 'main' );   



Heh, when I remove it two things occur.


1.) On the admin page I get this:

Notice: Use of undefined constant THEME - assumed 'THEME' in /load.php on line 17



and 2.) the site does not load at all.

~ Nia

Apolonia Skywalk
Indigo Grove Web Production
  •  

PHPVibe A.

But did you add it to vibe_setts.php ?
Cause it sounds like it's not anywhere right now.

niaskywalk

Yes, I have it on line 52 of the vibe_setts.php


This seems a bit too difficult to hunt down when there are so many other things you guys have to do in a day. I really need him to know where to change the setting, so I will just keep telling the guy to tell me if ANY OTHER event shows to let me know.

Thank you for your time!
Nia
~ Nia

Apolonia Skywalk
Indigo Grove Web Production
  •  

Similar topics (7)