Welcome to www.HAS.lv - programmējam HTML.

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

KalashaLv

Video vai gallery

Sveiki, kāda nav lieka gallery vai video skripta php, kas saistās ar ipb? Centos ar ipbwi, bet nekā. Nu gnj sapratāt, ko lūdzu, kko līdzīgu fall dizaina video skriptam.

Ja tomēr kādam atrodas, tad paldies liels :)

1

Share this post


Link to post
Share on other sites

Jātaisa pašam tev (vai jāsamaksā kādam, kas uztaisa)

1

Share this post


Link to post
Share on other sites
4 hours ago, sLIDe said:

Jātaisa pašam tev (vai jāsamaksā kādam, kas uztaisa)

Ahh, nu labi, naudas jau nav žēl, domāju joka pēc pajautāšu.

Paldies par to pašu :)

0

Share this post


Link to post
Share on other sites
9 hours ago, DAFKAA_ME said:

Nu jā, tikai uz ipb 3.4.x un ko var ielikt sākumlapā, jo forumā man jau ir.

 

<div class="title"> Jaunākie <span class="bold">Videoklipi</span></div>
		<?php
		$videoquerty = "SELECT tid, title, author_name, thumbnail, last_updated FROM ibf_videos ORDER BY last_updated DESC LIMIT 4";
		$videos =  $ipbwi->ips_wrapper->DB->query( $videoquerty );
		foreach($videos as $video){?>
		<div class="video">
		<img src="<?=$ipbwi->getBoardVar('url');?>uploads/videos/thumbnails/<?=$video['thumbnail'];?>" alt="<?=htmlspecialchars($video['title']);?>">
		<div class="hilight">
		<a href="<?=$ipbwi->getBoardVar('url');?>index.php?app=videos&do=view&id=<?=$video['tid'];?>"><?=htmlspecialchars($video['title']);?></a>
		</div></div>
		<?php }?>

Izvilks jaunākos videos ar ipbwi,ja izmanto video pluginu to.

3

Share this post


Link to post
Share on other sites
10 hours ago, DAFKAA_ME said:

Nu jā, tikai uz ipb 3.4.x un ko var ielikt sākumlapā, jo forumā man jau ir.

Ja tu palasītu vairāk, tad tur ir rakstīts, ka nāk uz 3.4.x .

0

Share this post


Link to post
Share on other sites
1 hour ago, DJkikisa said:

<div class="title"> Jaunākie <span class="bold">Videoklipi</span></div>
		<?php
		$videoquerty = "SELECT tid, title, author_name, thumbnail, last_updated FROM ibf_videos ORDER BY last_updated DESC LIMIT 4";
		$videos =  $ipbwi->ips_wrapper->DB->query( $videoquerty );
		foreach($videos as $video){?>
		<div class="video">
		<img src="<?=$ipbwi->getBoardVar('url');?>uploads/videos/thumbnails/<?=$video['thumbnail'];?>" alt="<?=htmlspecialchars($video['title']);?>">
		<div class="hilight">
		<a href="<?=$ipbwi->getBoardVar('url');?>index.php?app=videos&do=view&id=<?=$video['tid'];?>"><?=htmlspecialchars($video['title']);?></a>
		</div></div>
		<?php }?>

Izvilks jaunākos videos ar ipbwi,ja izmanto video pluginu to.

Viņš neiet. Itkā ir videos savienojas, bet nevelk ne tid ne thumbnail, neko, uzmet vnk 4 reiz ka nav img un viss.

0

Share this post


Link to post
Share on other sites

Posted (edited)

13 minutes ago, DAFKAA_ME said:

Viņš neiet. Itkā ir videos savienojas, bet nevelk ne tid ne thumbnail, neko, uzmet vnk 4 reiz ka nav img un viss.

Nu es izmantoju uz Videos System v3.0.0  un viss iet. Paskaties videos DB table, vai tur ir saglabāts thumbnail nosaukums un vienmēr vari uztaisīt if ar checku, ja tas ir tukšs ieliec savu bildi.

Edited by DJkikisa
0

Share this post


Link to post
Share on other sites
34 minutes ago, DJkikisa said:

Nu es izmantoju uz Videos System v3.0.0  un viss iet. Paskaties videos DB table, vai tur ir saglabāts thumbnail nosaukums un vienmēr vari uztaisīt if ar checku, ja tas ir tukšs ieliec savu bildi.

es arī izmantoju v3.0.0, bet viņš neizvelk, ne tikai thumbnail, bet arī tid un title.

mēģināju šādi:
 

<?php

require_once('/home/mine/domains/mine.lv/public_html/scripts/IPBWI/ipbwi/ipbwi.inc.php');

        $videoquerty = "SELECT tid, title, author_name, thumbnail, last_updated FROM ".$INFO['sql_tbl_prefix']."videos ORDER BY last_updated DESC LIMIT 4";
        $videos =  $ipbwi->ips_wrapper->DB->query( $videoquerty );
        foreach($videos as $video){?>
        <div class="video">
        <img src="<?=$ipbwi->getBoardVar('url');?>uploads/videos/thumbnails/<?=$video['thumbnail'];?>" alt="<?=htmlspecialchars($video['title']);?>">
        <div class="hilight">
        <a href="<?=$ipbwi->getBoardVar('url');?>index.php?app=videos&do=view&id=<?=$video['tid'];?>"><?=htmlspecialchars($video['title']);?></a>
        </div></div>
        <?php }?>

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now