Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - abdoh2010

Pages: 1 2 3 4 [5] 6 7
61
Discussion & Troubleshooting / [Q] move to unicode utf-8 ?
« on: June 20, 2005, 02:24:42 AM »
Hello every one

I tried before to move my website to Unicode but unfortunately I didn’t make it right

So I winder, what is the correct way to move to Unicode utf-8
I have the root on my server, so if it help? Tell me about it

62
Discussion & Troubleshooting / [Q] replace in the output templates ?
« on: June 17, 2005, 04:20:51 PM »
hello every one

i have a quastion about the output templates in the 4images
i would like to add a php replace line to replace what ever in the output templates with what i want

example

preg_replace(''/\>\s+\</', '> <', $output_template);

i think it's myebe in the sessions.php file in the includes folder but i am not shore about the code line it self and witch line it should be

any body help please ?

63
This is a great MOD
I am always search and test 4images to improve performance
And random speed was one of the issues
But I have a question
Is this MOD build-in 1.7.1?
I mean if I am use 1.7.1 than do I need this MOD

Personally I think that Jan should use every optimize MOD here in the new standard 4images

64
Chit Chat / Re: admin please
« on: April 07, 2005, 10:58:59 PM »
i will see some files i care about

65
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 06, 2005, 09:03:37 AM »
Vano

You are allows the hero :mrgreen:

Your idea opens my mind to the correct way to do it

I will try your way and I will tell you about the result

66
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 05:12:05 PM »
hay Jo
i will give you another good reason to use absolute links in the internal pages

you are using 4images dont you ?
and your site is http://www.joschu.com/

so tell me about your SERP

http://images.search.yahoo.com/search/images?p=site%3Ajoschu.com&ei=UTF-8&fr=FP-tab-img-t&fl=0&x=wrt
it's really look cool
only 18 image is there !!
why is that Jo ?

and for google look at this
http://images.google.com/images?q=site%3Ajoschu.com&hl=en

only 1 images there ?

dont you see something wrong here ?

YES NON OF YOUR IMAGES IN THE GALLERY IS INDEXED  :lol:

so way is that Jo ?

67
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 04:57:22 PM »
that is good thread
my site is full of backlinks
and i am working on improve the SEO on it

68
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 04:19:51 PM »
this is five good reasons to use absolute links
http://www.searchengineworld.com/newsletter/1999/q3/absolute.htm

69
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 03:58:07 PM »
ok but i hope you read this article
http://www.rustybrick.com/seo_articles_3.php
it's about "Internal Linking Structure"

70
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 03:45:21 PM »
8O what!!!

Are you serous man?

What I am talking about is one of the most importing things in any website

HOW TO MAKE VISITERS COME TO YOUR WEB SITE?

Every body use search engines every time they need thing from the net
And my job is to ensure that my website is on there rustle list
Not only that
And put my site on the top of there list!!!

This is SEO man and if you don't know it then you are the one who is wasting my time here

71
Installation, Update & Configuration / Re: changing ROOT_PATH ?
« on: April 05, 2005, 03:04:29 PM »
Honestly I am confuse
It's all about SEO (Search Engine Optimization)

The purpose of what I am asking is to increase the pages that archived and cached by search engine for my website

The search engine is base by reading the source of the page

So if I have a link like "./search.html" in my page source, dose the search engine read it as it is?
As a broking link?
I think so,
And because of that I want to change it to a full path so it count as I hope

72
Installation, Update & Configuration / changing ROOT_PATH ?
« on: April 05, 2005, 01:58:10 PM »
this is realy bother me
when ever i open the source for any page in the 4images i see this

Code: [Select]
<form method="post" action="./search.html">
and
Code: [Select]
<a href="./index.html">and
Code: [Select]
<a href="./top.html">
and and and ....


i want to see it like this
Code: [Select]
<a href="http://www.site.com/top.html">

so i made my move and i found about ROOT_PATH="./" in the head of every php file like index.php  so i tryed to change it from there but it give me error messge

so what is the corruct way to do this ?

73
Mods & Plugins (Requests & Discussions) / Re: [MySQL] what if ?
« on: April 05, 2005, 01:32:34 AM »
ok no problem

this is the code that i am work on

Code: [Select]
<?php
$query
=mysql_query("SELECT * FROM topics WHERE $topic=id");
while(
$result=mysql_fetch_array($query)){
?>

<table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="#969696">
<tr>
<td align="center" width="100%" bgcolor="#969696">
<p align="center"><font color="#FFFFFF">
<?php echo $result[name?>
</font></p>
</td>
</tr>
<tr>
<td align="center" width="100%" bgcolor="#EBEBEB">
<p align="justify"><font color="#416496">
<?php echo $result[description?>
</font></p>
</td>
</tr>
</table>
<?php
}
$query=mysql_query("SELECT * FROM topics WHERE $topic=place ORDER BY id DESC");
while(
$result=mysql_fetch_array($query)){
?>

<br>
<table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="#969696">
<tr>
<td align="center" width="100%" bgcolor="#EBEBEB">
<p align="center"><font color="#416496">
<a href="topic.php?topic=<?php echo $result[id?>"><?php echo $result[name?></a>
</font></p>
</td>
</tr>
</table>
<?php
}
?>

<br>
<table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="#969696">
<tr>
<td align="center" bgcolor="#969696">
<p align="center"><font color="#FFFFFF">
title
</font></p>
</td>
<td align="center" width="100" bgcolor="#969696">
<p align="center"><font color="#FFFFFF">
writer
</font></p>
</td>
<td align="center" width="100" bgcolor="#969696">
<p align="center"><font color="#FFFFFF">
date of add
</font></p>
</td>
<td align="center" width="50" bgcolor="#969696">
<p align="center"><font color="#FFFFFF">
vist
</font></p>
</td>
</tr>
<?php
$numresults
=mysql_query("SELECT * FROM articles WHERE topic=$topic ORDER BY id DESC");
$numrows=mysql_num_rows($numresults);
if(empty(
$page)){
$page=0;
}
$result=mysql_query("SELECT * FROM articles WHERE topic=$topic ORDER BY id DESC limit $page,$limit");
while(
$data=mysql_fetch_array($result)){
?>

<tr>
<td align="center" bgcolor="#EBEBEB">
<p align="justify"><font color="#416496">
<a href="topic.php?id=<?php echo $data[id?>"><?php echo $data[subject?></a>
</font></p>
</td>
<td align="center" width="100" bgcolor="#EBEBEB">
<p align="center"><font color="#416496">
<?php echo $data[writer?>
</font></p>
</td>
<td align="center" width="100" bgcolor="#EBEBEB">
<p align="center"><font color="#416496">
<?php echo $data[date?>
</font></p>
</td>
<td align="center" width="50" bgcolor="#EBEBEB">
<p align="center"><font color="#416496">
<?php echo $data[counter?>
</font></p>
</td>
</tr>
<?php
}
?>

</table><br> pages :
<?php
$pages
=intval($numrows/$limit);
if(
$numrows%$limit){
$pages++;
}
for(
$i=1;$i<=$pages;$i++){
$newpage=$limit*($i-1);
echo
"( <a href='topic.php?topic=$topic&page=$newpage'>$i</a> ) ";
}
?>


so as you see it is mix of php and templete and i want to make it part of my 4images

the first step is to splet the code into two parts
the templete part and that is easy
and the php & mysql part and that is also easy

but the problem is how to make it work by 4images rules

74
Templates & Styles (Releases & Support) / Re: To Template Developers!
« on: April 04, 2005, 03:55:14 PM »
Hay Chris
Nice thread

I have a question

Is this work with query also ?

75
Mods & Plugins (Requests & Discussions) / [MySQL] what if ?
« on: April 04, 2005, 03:20:04 PM »
Hello guys

I have a problem and I need your help

I have a script witch I am trying to integrate it with 4images
The template part is solve ok but the query part is the problem that I am talking about

If I have a query and I want to insert it in a file call it test.php and give this query a variable to call it from test.html template

How can I do it? That's the question

Pages: 1 2 3 4 [5] 6 7