Author |
Message |
redhairz
Worker


Joined: Nov 17, 2006
Posts: 222
|
Posted:
Fri Jan 19, 2007 4:33 pm |
|
Hi guys can anyone tell me where to find the module nukeC classicfied i like it alot i did it with nukeC30 even cmod777 to imageads but just coudt load the image. Appriciate if someone know how to correct it or recommend me another module that can work with Rn20202 thanks mans..  |
_________________ Jesus is Alive, He is our joy, be it good times or bad time. |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Fri Jan 19, 2007 4:54 pm |
|
when i was searching for a solution i found this.....
//START COPIED STORY
1st. The original 7.6.b.4 sql creates a table for the classified images, however it doesn't insert the image file types definitions. Dauthus provided the code for inserting this information, however his code was for the "NukeC30 beta" and not designed for 7.6.b.4. Loki changed the table titles in 7.6.b.4 Not a lot but enough to give problems.
The correct insert codes to run on your sql commands are:
INSERT INTO nuke_nukec_ads_imgtype VALUES("1", "gif", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("2", "jpeg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("3", "jpg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("4", "x-png", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("5", "pjpeg", "1");
2nd. you MUST add the following line to your .htaccess file that is located in your php root directory:
php_flag register_globals on
Make sure the ftp program you are using allows you to see hidden files, because usually .htaccess files are hidden.
By default the .htaccess file for 7.6.b.4 is empty.
3rd. the folder names and paths in 7.6.b.4 are not the same as in the original NUKEC30 module.
Loki changed the names and folder layout, however forgot to change the defaults in the settings.
To correct them do the following:
A. Go to the Classified's Module control in the admin section of your site and then click on "Setting Nuke Classifieds Preferences".
Or as a shortcut go here: http://www.yourwebsitehere.com/admin.php?op=ClassifiedsSetting
B. Make sure of the following:
Ads Image upload full path = modules/Classifieds/imageads/
Ads Image path = modules/Classifieds/imageads/
Ads Category Image upload path = modules/Classifieds/imagecatg/
Ads Category Image path = modules/Classifieds/imagecatg/
Once you do all three of those steps then the classified images will work as they should...
//END COPIED STORY |
|
|
|
 |
redhairz

|
Posted:
Fri Jan 19, 2007 5:39 pm |
|
hitwalker thanks for the trouble anyway i came across some nukeC that can link their image from external without loading into its own site. cos i dont wan to mess up the rnnuke >.< anyway hitwalker if u know anyone with that discussion can u post it here? or recommend me a link some how sorry about that.
i will give a try. see how it will work out. cos there r so much code in the rn Htacesss file that would made it hard to place in. |
|
|
|
 |
hitwalker

|
Posted:
Fri Jan 19, 2007 5:42 pm |
|
thats about all the help i can give or come up with....
atleast try it...
but others i know didnt had any problems....
so im not sure this will help either... |
|
|
|
 |
Dauthus
Worker


Joined: Oct 07, 2003
Posts: 211
|
Posted:
Fri Jan 19, 2007 9:06 pm |
|
hitwalker wrote: | INSERT INTO nuke_nukec_ads_imgtype VALUES("1", "gif", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("2", "jpeg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("3", "jpg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("4", "x-png", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("5", "pjpeg", "1"); |
Since you are running RN, and not Platinum 7.6b4 (it is preinstalled in 7.6b4) you may want to change the database table names to what they were in the original installation. This will fix the following error:
----------------------------------------------------------------------
Ads Submission Error
Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)
Allowed File Types are :
Please Go Back and Correct the Above Error(s)
<< Go Back "
-------------------------------------------------------------------------
Original database update is as follows:
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (1, 'gif', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (2, 'jpeg', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (3, 'jpg', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (4, 'x-png', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (5, 'pjpeg', 1);
If you are receiving the error listed below when trying to upload files then you neeed to turn safe mode off on your domain. If you are not comfortable with safe mode off, you will need to install another classified module or not allow image uploads as this module will not allow you to upload images with safe mode on.
----------------------------------------------------
Ads Submission Error
Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)
Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'
Please Go Back and Correct the Above Error(s)
<< Go Back
--------------------------------------------------------
Hope this helps |
_________________ Only registered users can see links on this board! Get registered or login!
Vivere disce, cogita mori |
|
|
 |
redhairz

|
Posted:
Sat Jan 20, 2007 6:03 pm |
|
Hey guys i still have a problem i tihn the table were setted right this time i left this upload
default
Ads Image upload full... path//hsphere/local/home2/caesar/nuke76.nukec.org/modules/NukeC30/imageads/
Ads Image path....modules/NukeC30/imageads/
this is what my cpanel path look like
/ public_html /nukern/modules/NukeC30/imageads /
my whole url is www.mysite.com/nukern/
it post ads i upload the image it say you had post it succefully. but the image is not there so i think is the path
Dauthus and hitwalker ffrom the look at the first line at default
what is the collect path my mine? i try adding in my path but it did not work.
Hey thank for ur help i came this far it only left the path problem u all r great
wow bootleghllow your classiC is nice i wish i had the workble nukec like your site
anyway i saw this error on top the the webpage at pm u. |
Last edited by redhairz on Sat Jan 20, 2007 6:11 pm; edited 1 time in total |
|
|
 |
hitwalker

|
Posted:
Sat Jan 20, 2007 6:06 pm |
|
Code:<?
echo$PATH_TRANSLATED;
?>
|
put that in a file called info.php and it shows the full root...
that will help.. |
|
|
|
 |
redhairz

|
Posted:
Sat Jan 20, 2007 6:18 pm |
|
hi hitwalker there is no info.php ? file |
|
|
|
 |
hitwalker

|
Posted:
Sat Jan 20, 2007 6:22 pm |
|
yeah i know....you have to make that...
i just gave an example....
THEN PUT THE CODE IN I POSTED....  |
|
|
|
 |
redhairz

|
Posted:
Sat Jan 20, 2007 6:27 pm |
|
hitwalk +_+ ok i created info.php in the module/nukec30/
nothing happen
but the path is in default i din change the path to my? |
Last edited by redhairz on Sat Jan 20, 2007 6:30 pm; edited 1 time in total |
|
|
 |
hitwalker

|
Posted:
Sat Jan 20, 2007 6:30 pm |
|
nothing should happen...
it only shows the path on your server...
in that way you can easely see now what the path is and what you should fiull in..
understand now ? |
|
|
|
 |
redhairz

|
Posted:
Sat Jan 20, 2007 6:41 pm |
|
hitwalker u know what i miss out the account name nowonder haha hey i place php_flag register_globals on at the botton of the htceee. there were lots of SN written code above place will that affect the SN operation? or secrutiy issue?
hitwalker you are sure a very good player in the phpnuke community A1.
Thanks for your help.. guess i own u one favourble yeah. i will not 4get that and RN too hehe |
|
|
|
 |
hitwalker

|
Posted:
Sat Jan 20, 2007 6:43 pm |
|
thanks...all seems ok now then...
good luck.. |
|
|
|
 |
redhairz

|
Posted:
Sat Jan 20, 2007 6:49 pm |
|
Thanks You mansss time to take a break switching to BF2 server haha brb |
|
|
|
 |
shotokan
Worker


Joined: Aug 27, 2006
Posts: 172
|
Posted:
Sat Feb 24, 2007 12:02 am |
|
Does it module will work for 7.8 patched 3.3?
I am getting exact the file dimention and file type error the rest is OK
and what is that to change domain safe mde off? how to make that change? is it really necessary? |
_________________ Shotokan |
|
|
 |
redhairz

|
Posted:
Sun Feb 25, 2007 2:24 pm |
|
not sure what do u mean but the above guide has given by htiwalker and the module works with RN nuke i am glad just follow the guide line. Or you can explain in details which of the error or whatever your mistake has? |
|
|
|
 |
shotokan

|
Posted:
Sun Feb 25, 2007 5:31 pm |
|
The problem is simple. The whole module is working but whenever i try to add a post i got this:
Ads Submission Error
Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)
Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'
Please Go Back and Correct the Above Error(s)
<< Go Back
I already try playing with the size of the pictures/images and dimentions but no matter what i do i simply can not add a new classified with a image because i got this error. |
|
|
|
 |
aneeshtan
New Member


Joined: Feb 27, 2007
Posts: 5
|
Posted:
Tue Feb 27, 2007 11:08 am |
|
sorry my friends i have the same problem and when i wana upload a image i face to this error
Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'
i don't know how to deal with this problem .....
please help me |
|
|
|
 |
mklim
New Member


Joined: Mar 27, 2007
Posts: 1
|
Posted:
Wed Mar 28, 2007 9:58 am |
|
Hello Guys,
NukeC works very well except that each time when I try to save the settings or post an ad, a blank page will appear instead of, say a thank you page. Has anyone encounter this problem?
Appreciate if someone could share their knowledge. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Wed Mar 28, 2007 1:50 pm |
|
I'm not entirely sure what this lengthy post has to do with Raven Nuke, its a module issue, so I'm moving it to the modules forum. |
|
|
|
 |
redhairz

|
Posted:
Mon Apr 02, 2007 10:48 am |
|
Guradian pls dont delele this forum as i come back to learn how to fix the error. thanks i am reinstalling the module 3-4 time just to get it familar.  |
|
|
|
 |
Guardian2003

|
Posted:
Mon Apr 02, 2007 11:33 pm |
|
I wouldnt dream of deleting it  |
|
|
|
 |
|