[ Video Sharing CMS v4 ] Sanishan's changes of PHPVibe 3.3 RC 2

Started by sanishan,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marius P.

Quote from: sanishan on
Next Planning:

1. Dynamic Pages system
2. Ads Management system :)


Thanks,

This are also on my "next stuff" list.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

repute

PS Did I say you are doing an awesome job, thanks Mario!!!
  •  

Marius P.

Quote from: repute on
PS Did I say you are doing an awesome job, thanks Mario!!!

Thank you! There still small slips, we will release a patch for several php files, including language editor.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: repute on
Sounds great are these mods available for purchase?

I won't sale i will share to everybody in this forum.. :)

I am testing all my changing, also doing some tweak for fast loading time..
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

repute

Dude! Your the best thanks mate, will help debugging!
  •  

sanishanTopic starter

Quote from: @Mario on
This are also on my "next stuff" list.

That's good to know..

So I just stop ad management and dynamic system work right know..

Thinking about Dynamic Video RSS module..

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

Quote from: repute on
Dude! Your the best thanks mate, will help debugging!

No problem.. just give me 1-2 days.. i will do something new, i promises you will like it :)

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

repute

  •  

sanishanTopic starter

Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Uhh, that translator looks bad my friend, has no sense what i'm reading as translated. Other than that : great job!
But this word replaces will always do more bad than good...I would prefer somebody to be able to read what he's watching and not rofl, maybe a common replacements matrix like the seo function does would be best, I am planning one for PHPVibeX's Redtube imports.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
Uhh, that translator looks bad my friend, has no sense what i'm reading as translated.

I know.. I have made the module, its up to you how good you make the synonam database.

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Did you check Automatic Text Rewriter ? I was planning to check it out, but didn't find time yet.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
Did you check Automatic Text Rewriter ? I was planning to check it out, but didn't find time yet.

Yes i have seen this before, and i am using almost same database,

My Rewrite script automatically use any random word from the synonym database, Its very hard to rewrite something using multiple drop down menu, you can't use with drop down with Auto Fetch or scheduled post .

Its batter if you use only for description because most of people don't read description,

Thanks,



Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

I have made another change..

Change website color from admin panel.

1000's for variation to change color

1. Body color
2. Header BG, Border Color
3. Search BG, Border and Focus Color
4. Heading Color
5. Heading Underlines Color
6. Footer Color

Working on something will publish all my update very soon..

Will be upload video demonstration very soon :)

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Quote from: sanishan on
I have made another change..

Change website color from admin panel.

1000's for variation to change color

1. Body color
2. Header BG, Border Color
3. Search BG, Border and Focus Color
4. Heading Color
5. Heading Underlines Color
6. Footer Color

That's cool. Make sure you apply the custom css via a shortcode to header, not by a php file which calls load.php again, cause that would be heavy and pointless.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
That's cool. Make sure you apply the custom css via a shortcode to header, not by a php file which calls load.php again, cause that would be heavy and pointless.

I am doing something different :) i am using get_option(); function which is you using all over the script,

If you give me example how to use custom shortcode let me know..

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

I get how you made the option, I just want to know how did you inject it in the theme, there are 3 ways to do this, wonder which one you picked.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
I get how you made the option, I just want to know how did you inject it in the theme, there are 3 ways to do this, wonder which one you picked.

I don't know what is the correct way.

but i did same as youtube search..

Create a file in com/com_css.php

create a file in root (where you find index)
style.php

Add all vibe_style.css sheet in style.php

Add the function get_option(); where i want to put the value.

Include the style.php inside the com_css.php file

Inside index.php and vibe_config.php i add the page value

"style.css"

Now i am able to get style sheet by simply enter http://site.com/style.css

add the header('Content-Type: text/css'); in com_css.php to output file as css.

Change the css path inside the tpl.global.php (completely removed the vibe_style.css file).

change the images path inside the style.php file.

I hope you understand.

I think its easy for me so i did that.. (and did not overload to anything).

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

No, that's a really bad way because it's heavy!

Simply inject them in

function header_add()


like style overwrite


<style>
code to generate them
</style>


at tpl.globals.php


this is less resource consuming way.


Basicly you doubled the page load the way you did it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
No, that's a really bad way because it's heavy!

Simply inject them in

function header_add()


like style overwrite


<style>
code to generate them
</style>


at tpl.globals.php


this is less resource consuming way.


Basicly you doubled the page load the way you did it.


I am confused..

What i have to inject using header_add()?

tpl.globals.php file code

function header_add(){
global $page;
$head = '
<link rel="stylesheet" type="text/css" href="'.site_url().'style.css" media="screen" />


How do i assign the get_option() to css?

Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

oh.. okay you mean..

I added my style inside

<style>

my css code with PHP
</style>

and added in side the header_add();

so can i use the get_option(); inside the tpl.globals.php?

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Use the extra filter




function sanishan_css() {
$css = '<style>';
$css .= '#fixed {backgound-color:'.get_option("background").'}';
$css .= '</style>';
}
add_filter('filter_extracss', 'sanishan_css');



I didn't run this in php editor and i'm tired, so follow the lines, not the code, also add protection for when it's empty (or add the default values by default in the options).


Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
Use the extra filter




function sanishan_css() {
$css = '<style>';
$css .= '#fixed {backgound-color:'.get_option("background").'}';
$css = '</style>';
}
add_filter('filter_extracss', 'sanishan_css');



I didn't run this in php editor and i'm tired, so follow the lines, not the code, also add protection for when it's empty (or add the default values by default in the options).





Done..

Now i am understand completely...

:)

Thanks for your help..
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Similar topics (7)

Replies: 1
Views: 865

Replies: 0
Views: 2366

Replies: 3
Views: 1288

Replies: 2
Views: 841