Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • zizozoro Friend
    #163508

    picture 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.com

    thanks in advance

    zizozoro Friend
    #389508

    when i use full link picture it work normally
    full link like
    http://site.com/images/pic.jpg

    and when i use
    images/pic.jpg

    it appear normally in the editor but in front page doesn’t appear

    zizozoro Friend
    #389509

    picture appear normally when i browse articles
    http://alsbeel.com/index.php/scientistanddo3ah/scientistanddo3ah/mostafaeldbisyarticle/115-417823361

    but still have problem in front page

    this problem appeared after i install quick start package

    zizozoro Friend
    #389510

    as 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 below

    when 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 Friend
    #389511

    Oh 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.jpg

    now 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 Friend
    #389512

    another 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 Friend
    #389514

    i have tried to switch off TinyMCE and the problem still occurs :S

    zizozoro Friend
    #389521

    Photo problem solved
    i make all directory and files to be permission 777
    i know it’s a security hole but i will remove it today

    about hot videos
    i have removed TinyMCE from plugins and still suppressing code :S

    zizozoro Friend
    #389524

    heheheheheh .. i have added code manually via phpmyadmin
    i hate to make this :S
    i think i need to make my own admin panel 🙂

    zizozoro Friend
    #389529

    i 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 name

    mysql_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:

    clayman9 Friend
    #393303

    Well 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

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 2 voices, and was last updated by  clayman9 13 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum