Recent content by rainfall

  1. R

    Checkboxes....Array

    yeap, this fixed it. thx.
  2. R

    Checkboxes....Array

    It is for checkbox group, so "name" must be identical.
  3. R

    Checkboxes....Array

    OK, I have implemented a custom page where user can choose their known languages... <input type=checkbox name='lang' value='English'>English <input type=checkbox name='lang' value='Chinese'>Chinese If, I checked both boxes, normally the return value should be "English, Chinese". Now problem in...
  4. R

    XF 1.2 Paypal issue....

    not yet... do I need to?
  5. R

    XF 1.2 Paypal issue....

    Dont worry about this. I found the issue is with Multisite add-on. It is just because the simple replacement thingy. Doh!!!
  6. R

    XF 1.2 Paypal issue....

    I tried to do a User Upgrade on my local copy of Xenforo.... It worked locally... But when I tried it live.... it gave me this error "We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the...
  7. R

    Custom BB Code Manager

    instead of double quote... "[/B]width, height"]url can i use single quote instead? '[/B]width, height']url
  8. R

    Custom Image Upload...

    i tried that but it wont work.... it gives me this error Call to a member function getFileName() on a non-object in /var/www/xx/library/XenForo/ControllerPublic/Forum.php on line 644 getFileName is under diff class.... XenForo_Upload. You can refer to my code in this thread.
  9. R

    Uploading single file using <input type="file">

    public function actionAddClassified() { $this->_assertPostOnly(); $forumId = $this->_input->filterSingle('node_id', XenForo_Input::UINT); $forumName = $this->_input->filterSingle('node_name', XenForo_Input::STRING); $ftpHelper =...
  10. R

    Uploading single file using <input type="file">

    Screenshot something like this added a thread_classified template (basically it is Thread_add template width modified/added stuff) added an upload_photo template Then added a new function in forum.php thread_classified <xen:title>{xen:phrase create_classified}</xen:title> <xen:if...
  11. R

    Custom Image Upload...

    yeap, i used it.... I have added enctype="multipart/form-data" on my form as well. and add that declaration --> $image = XenForo_Upload::getUploadedFile('name_attr'); how do i use this variable $image??? how to get the filename?? say i want to upload to a specific directory, how??? thx in a...
  12. R

    Uploading single file using <input type="file">

    i need help on this as well.... I add "enctype="multipart/form-data" this on my form tag already. and i have declared $fileupload = XenForo_Upload::getUploadedFile('file_upload'); now what??? is there any genius out there who can solve this. been around for many days.... still no hope.
  13. R

    Custom Image Upload...

    I am trying to do a custom "Post Thread". Now now.... i am editing forum.php and create a new function for this. Lets say my input file called "FILE", which is suppose to be only image can be uploaded. How do I use this object??? For the other input text, I know we have to use...
  14. R

    Classified Post

    I have made a custom "Post Classified" page. Plan is simple, this Classified post is like normal post, but with custom fields to ensure standardise format. Now, will someone please enlighten me, what should i do next?? I know I need to edit forum.php and add new function. Currently i just...
  15. R

    XF 1.2 my Home breadcrumb showing "..."

    thx, I have fixed it. I forgot to add the height on BreadCrumb property.
Top Bottom