-
AuthorPosts
-
zizozoro Friend
zizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 12:27 am #163508picture appear when add article and doesn’t in front page?
i can browse the picture normally via link
but it doesn’t appear even when i see source code of the page ( R-click > view source)please see my site in link below
http://alsbeel.comthanks in advance
zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 12:34 am #389508when i use full link picture it work normally
full link like
http://site.com/images/pic.jpgand when i use
images/pic.jpgit appear normally in the editor but in front page doesn’t appear
zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 12:41 am #389509picture appear normally when i browse articles
http://alsbeel.com/index.php/scientistanddo3ah/scientistanddo3ah/mostafaeldbisyarticle/115-417823361but still have problem in front page
this problem appeared after i install quick start package
zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 1:03 am #389510as Mr.Hung Dinh said before
i have installed it in my local host and compared to with the theme in my local host and found belowwhen press Right Click >> view source
at my local host
<div class=”jazin-contentwrap”>
<div class=”jazin-content clearfix”><a href=”/zizoojom/zizo_ja_teline_iv/index.php/entertainment/entertainment-news1928273029/books172008972/337-71471458″ title=”Justo quam orci ipsum enim” class=”jazin-content-inner”>
<img class=”0″ src=”/zizoojom/zizo_ja_teline_iv/images/resized/images/stories/demo/entertaiment/e-15_144_150.jpg” alt=”Justo quam orci ipsum enim” />
<span class=”jazin-content-text”>in my site
<div class=”jazin-contentwrap”>
<div class=”jazin-content clearfix”><a href=”/index.php/entertainment/entertainment-news1928273029/books172008972/337-71471458″ title=”Justo quam orci ipsum enim” class=”jazin-content-inner”>
<span class=”jazin-content-text”>
why tag img doesn’t work in my front page ?zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 1:11 am #389511Oh my God
external link only will work :S
i have tried to add full link and it doesn’t work
http://alsbeel.com/images/stories/demo/sport/cricket-1.jpgnow i have tried to add external link
http://www.physics.sjsu.edu/becker/physics51/images/26_05_Current_in_conductor.JPG
and it work normally ? How?zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 1:50 am #389512another problem in the template
the embeded video code is supressed
from
<p>
<object width=”310″ height=”199″ data=”http://www.youtube.com/v/NnD2n_NBGMg?fs=1&hl=en_US&autoplay=0&showinfo=0&rel=0″ type=”application/x-shockwave-flash”>
<param name=”movie” value=”http://www.youtube.com/v/NnD2n_NBGMg?fs=1&hl=en_US&autoplay=1&showinfo=0&rel=0″ />
<param name=”wmode” value=”transparent” />
</object>
</p>
to
<p>
<param name=”movie” value=”http://www.youtube.com/v/NnD2n_NBGMg?fs=1&hl=en_US&autoplay=1&showinfo=0&rel=0″ />
<param name=”wmode” value=”transparent” /> </p>i think there are more bugs with this template
zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 1:55 am #389514i have tried to switch off TinyMCE and the problem still occurs :S
zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 2:21 am #389521Photo problem solved
i make all directory and files to be permission 777
i know it’s a security hole but i will remove it todayabout hot videos
i have removed TinyMCE from plugins and still suppressing code :Szizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 2:28 am #389524heheheheheh .. i have added code manually via phpmyadmin
i hate to make this :S
i think i need to make my own admin panel 🙂zizozoro Friendzizozoro
- Join date:
- April 2011
- Posts:
- 121
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 32
- Thanked:
- 9 times in 1 posts
May 3, 2011 at 3:30 am #389529i have made my own add page for hot videos module :laugh:
create new file with name add.php
copy the code and modify database name,user and pass
[PHP]<?php$server_name = “localhost” ;//server , localhost
$username_db = “” ; //Data Base Username
$password_db = “” ; //BD pass
$db_name = “”; //DB namemysql_connect($server_name,$username_db,$password_db);
mysql_select_db($db_name);$action = $_GET[‘action’];
switch($action){
case(do_add_video_id):
$video_id = addslashes(strip_tags(trim($_POST[‘id’])));$embed_video='<object width=”310″ height=”199″><param name=”movie” value=”http://www.youtube.com/v/’.$video_id.’?fs=1&hl=ar_EG&rel=0″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/’.$video_id.’?fs=1&hl=ar_EG&rel=0″ type=”application/x-shockwave-flash” width=”310″ height=”199″ allowscriptaccess=”always” allowfullscreen=”true”></embed></object>’;
$sql = mysql_query(“update jos_modules set content = ‘$embed_video’ where id =’94’ “);
if($sql){
echo “<center><br>add successfuly :)<br><a href=./add.php>Go back</a></center>”;
}
else{
echo “<center><br>an error occured, please try again later!!<br><a href=./add.php>Go back</a></center>”;
}
break;
default:
echo “
<form action=”add.php?action=do_add_video_id” method=”POST”>
<table align=center width=300 border=1 cellpading=0 cellspacing=2>
<tr>
<td>
Video id
</td>
<td>
<input type=”text” name=”id” size=30>
</td>
</tr><tr>
<td colspan = 2 align=center >
<input type=submit value=”add”>
</td>
</tr>
</table>
</form>
<br><center>
<h5>example: http://www.youtube.com/watch?v=<font color=red><b>5_A8w00YZ88</b></font>
<br>we will need to </font><font color=red><b>5_A8w00YZ88</b></font> only</h5></center>”;
}
?> [/PHP]
in this line you can replace 94 with your module Hot Videos ID (you can find it in module page )
[PHP]$sql = mysql_query(“update jos_modules set content = ‘$embed_video’ where id =’94’ “);[/PHP]Enjoy !! :laugh:
1 user says Thank You to zizozoro for this useful post
May 28, 2011 at 4:00 am #393303Well ive tryed everything listed on this site to get video module to work…..
Turned filtering off, created all sorts of extra pages with code and still nothing.
Do i need to create a ticket for someone to fix this bug! >:(Regards
Andy
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by clayman9 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum