merhaba arkadaslar 3 gun once forumdan bir yardim istemiştim saolsun srdemseker in yazdıgı kod sorunumu cözmüştü fakat ayni problam admin girisinde oldu normal plesk panellerde global desing on yaparak bu sorunu hallediyorsum fakat c panele gectim sorunlar üstüne sorunlar cıkmaya basladı
örnegin admin paneli bu
Control Panel sifresi ie admin kullanıcı adı admin ama giris yapamiyorum tekrar geri gönderiyor cokie kodu de eklesem yani hatayı veriyor
ekledigim kod bu foksiyon dosyasina scriptin ana foksiyon dosyasina admin e ekledigim zaman calısmıyor
foreach($_COOKIE as $key => $val){
$$key= $val;
}
foreach($_SESSION as $key => $val){
$$key= $val;
}
foreach($_POST as $key => $val){
$$key= $val;
}
foreach($_GET as $key => $val){
$$key= $val;
}
admin e giremiyorum
14
●1.244
- 11-04-2009, 20:53:02Eposta Aktivasyonu Gerekmektesorun ne ki?LaCReMeL adlı üyeden alıntı: mesajı görüntüle
plesk, c panel ne alaka? script ne ise bilmiyorum, bunun kurulum/kullanım notu yokmu, neler ister belli değil mi? Yani php ayarlarında neler yapman gerekiyor, hata mesajı yokmu? Admine giremiyorum, lafıyla nasıl yardımcı olunacak? - 11-04-2009, 21:09:18Daha önceki konularindan arkadasin problemini biliyorumtaylanaktepe adlı üyeden alıntı: mesajı görüntüle
register_globals dan kaynaklaniyor problemleri
scripti GET ve POST lari $_POST['name'] degilde $name şeklinde aliyor - 11-04-2009, 21:26:41Üyeliği durduruldutaylanaktepe adlı üyeden alıntı: mesajı görüntüle
readme dosyasi bu bak
IN ORDER FOR YOUR SCRIPT TO WORK, YOU MUST DO THE FOLLOWING:
Send complete url to Staff where your script will be installed.
Make sure you edit settings and put in your url where script is installed.
Requires register_globals to be on.
FOLLOW THESE IN STEPS PLEASE.
############################
Go into your hosting control panel
Make a database
Go to phpmyadmin
In phpMyadmin you should click on your database name and then in the right hand
side panel click on the "SQL" Tab
On this screen you will see a browse button. Click on it and point to the tables.sql file
located on your computer where the zip file is for databse.
Once you execute this file, it will setup the update for you.
Edit the connection.php
Edit the admin2/connection.php
upload all files in binary mode
graphics in binary mode
#######################IMPORTANT NOTE########################
#######################IMPORTANT NOTE########################
#######################IMPORTANT NOTE########################
There is a .htaccess file in the zip file.
If your already using a htaccess file then copy what is in there and add it to yours.
If your not using one, then upload in binary mode to root where script is to be uploaded to.
You can not do without using it or adding it too it.
#######################IMPORTANT NOTE########################
#######################IMPORTANT NOTE########################
#######################IMPORTANT NOTE########################
Password protect the admin2 directory, you can do this in cpanel
Depending on server :
You may have to cmod the following directorys to either 777 or 755:
clients_images
members_orgimage
members_thumbs
################################################## #########
In your browser run yoursite.com/csv2mysql.php
This will install the country codes for you.
################################################## #########
Log into admin2/
User = admin
Pass = admin
Click on edit settings and edit
The script is search engine friendly and uses 3 files that do not use file extentions
index, mainpage and viewblog
This is the reason for the .htaccess file and important on which one you use.
Of course you have edited the connection.php files so you know how many free and paid get for blogs,uploaded images, and links they can have.
Members approve their own comments to their blogs and notices are sent to their emails.
All blogs that are created have their own page titles, meta descriptions, and keywords
So members can submit their blogs to search engines.
The editor uses bracket codes and are replaced by html for blogs.
Only codes are inserted into database so no worry about saftey.
All tags are stripped from postings.
So if someone trys to use lets say javascript, it wont work.
You get emails for all new and edited blogs, this is important as you can see what members are trying to do things they shouldnt do.
I would set up a new email address for this.
Uses paypal of course
Will add alertpay later.
If they have no picture of themself uploaded, it uses their gender and adds a silhouette of a male or female.
Their picture are resized to 50x50
Images are resized if they are larger then 500x500 and accordling to thier size.
Uploaded images can be no larger then 1.44 Megabytes (1,474 KB).
You can ban people as well.
You can ban people by ip address or by email address from signing up.
Submit your xml sitemap to google for crawling.
https://www.google.com/accounts/Login
the url for sitemap.xml would be http://www.yoursite.com/sitemap.xml
Of course change yoursite.com to your own.
Edit the robots.txt file and edit the url for sitemap
Go here https://shoppingads.com
Signup
And click Get Code
Fill it out
On that page you will see something like this:
<script type="text/javascript"><!--
shoppingads_ad_client = "YOU WANT THE CODE THAT IS IN HERE ON THIS LINE";
shoppingads_ad_campaign = "default";
shoppingads_ad_width = "125";
shoppingads_ad_height = "125";
shoppingads_ad_kw = "most popular";
shoppingads_color_border = "FFFFFF";
shoppingads_color_bg = "FFFFFF";
shoppingads_color_heading = "00A0E2";
shoppingads_color_text = "000000";
shoppingads_color_link = "008000";
shoppingads_attitude = "true";
shoppingads_options = "n";
--></script>
<script type="text/javascript" src="http://ads.shoppingads.com/pagead/show_sa_ads.js">
</script>
Get the code on the line ad_client and add that code thru admin area settings and turn it on.
Now if a member does not sign up and does not use their code on their blog.. it will use yours instead.
bende anlamadım kı cpanel ile plesk arasindaki problemi fakat plesk de register_globals on yaptıgımda sorunsuz calısıyordu ama simdi nedense sorun üstüne sorun alıyorum - 11-04-2009, 21:29:57Üyeliği durdurulduevet katılıyorum sana gercekten garip bir baslik oldu ama aklım durduFaggo adlı üyeden alıntı: mesajı görüntüle

kardeş dedigin gibiLaCReMeL adlı üyeden alıntı: mesajı görüntüle
Daha önceki konularindan arkadasin problemini biliyorum
register_globals dan kaynaklaniyor problemleri
scripti GET ve POST lari $_POST['name'] degilde $name şeklinde aliyor
bu sorundan kaynaklanıyor bir arkadas daha senin söyledigini söylemişti ama bir sekilde caliştiriyorsum ama cpanel e gectim cirtladı
- 11-04-2009, 21:38:22Birde
foreach($_COOKIE as $key => $val){ $$key= $val; } foreach($_SESSION as $key => $val){ $$key= $val; } foreach($_POST as $key => $val){ $$key= $val; } foreach($_GET as $key => $val){ $$key= $val; }bu koddan $_COOKIE ve $_SESSION u kaldiralim
foreach($_POST as $key => $val){ $$key= $val; } foreach($_GET as $key => $val){ $$key= $val; }bu şekilde olsun yani, eskisini bununla değiştir