![]() |
Hey guys,
In case anyone else has the full sized images not showing up CHMOD 600 issue ... In functions_sr_classifieds_upload.php there is a line saying: Code:
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { Code:
if (copy($_FILES['userfile']['tmp_name'], $uploadfile)) { Apparently this is a result of the version of PHP and the variables set in your PHP.ini. Makes sense because none of the scripts similar to this i've run use the move_file command, all used the copy. Hence my WTF hair pulling yesterday. I didnt even want to begin messing with my server wide or site wide settings, but this worked, so Im good. Hopefully anyone else experiencing this down the road can use this. |
I hate to be a spaz but when doing the template edits, I use the search in template feature to find:
$vbphrase[posts]: $post[posts] <br> Unfortunately I get that it is not found in either the postbit or postbit_legacy template. As a result I don't know where to add: <if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'"> <div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div> </if> Can anyone suggest a solution? ps- I have version 3.5.4 Thanks, Gehanna |
Quote:
Try looking for this: $vbphrase[posts]: $post[posts] I posted this earlier in the thread but I guess it wasn't updated... remember to add the <br> before the code you are adding or it will be on the same line. |
Hello Quarterbore :D
I just found this in postbit_legacy: <div> $vbphrase[posts]: $post[posts] </div> I assume that is what I am looking for but let me ask you this. Because the </div> is present, will I still need to add the <br> before the code? Thanks Much for your reply by the way. Sincerely, Gehanna EDIT TO ADD -- Nevermind. I discovered that it is not necessary to add the <br> provided the </div> is there. |
Id also like to see a selection box option for the additional fields, were users can select additonal terms, as opposed to the radio box list, and if a search function could be made to search the items that are selected in the selection box that would be grand
Loving this so far :D |
I just noticed that this does not seem to have any limits on file or image size yet and that the image display is just a reduced version of the image uploaded to the server... It is pretty important that the users can not upload huge images so I would suggest a maximum file (memory or height/width) size check be incorporated in the CP at some point...
|
Got to page 13 and didn't see anyone cover this error...
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635 Any ideas? |
Quote:
|
Quote:
Code:
if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $bbuserinfo[userid] == $user[userid]){ Code:
if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $vbulletin->userinfo[userid] == $user[userid]){ |
Quote:
|
All times are GMT. The time now is 03:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|