Advertisement:

Author Topic: Converting questions  (Read 1300 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,966
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting questions
« Reply #40 on: October 16, 2020, 09:57:03 AM »
First
Try this
Open sources/LogInOut.php
Find
Code: [Select]
$other_passwords = array();
Add after
Code: [Select]
$other_passwords[] = md5(md5($user_settings['password_salt']) . md5($_POST['passwrd']));


One other note from IPB
Quote
If your external application does not do the same thing, this may mean usernames or passwords with special characters will fail if you do not account for this. The special characters that IP.Board will replace are:

    & to & (do this first so that you don't double convert any others below)
    \ to &#092 ; ( no space between 2 and ; )
    ! to !
    $ to $
    " to "
    < to &lt;
    > to &gt;
    ' to '

You may wish to convert these characters back to their original form in the corresponding variables before sending them to your remote application for validation, if appropriate.


Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #41 on: October 16, 2020, 02:41:14 PM »
I'll get in. Thats probably the easy part, and the members.

I just got to digging into my database (SMF) none of the attachments are copying over in the attachments table. Man, Ive tried 3 times, and all of the attachments are there (in the correct spot in the old forum) Sane error as I posted before...

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #42 on: October 16, 2020, 06:01:54 PM »
Im in, all errors are fixed. I, down to attachments, the big one.

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #43 on: October 17, 2020, 10:55:22 AM »
I am down to attachments, I cant figure out why SMF isnt seeing the uploads folder in IBP. The attachments are all there in IPB and working, in the correct spot. The IPB attachment table is good and the SMF attachment table is blank... Anyone have any suggestions? Im open to anything at this point...

Here is the error, one for every attachment. I just posted a few cause they are all the same.



Warning: copy(/forum/uploads/monthly_12_2014/post-2-0-79033800-1419442758.jpg): failed to open stream: No such file or directory in /home3/gatlirum/public_html/Forumtest/convert.php(1269) : eval()'d code on line 24

Warning: copy(/forum/uploads/monthly_12_2014/post-2-0-97979400-1419442709.jpg): failed to open stream: No such file or directory in /home3/gatlirum/public_html/Forumtest/convert.php(1269) : eval()'d code on line 24

Warning: copy(/forum/uploads/monthly_12_2014/post-2-0-77851100-1419442747.jpg): failed to open stream: No such file or directory in /home3/gatlirum/public_html/Forumtest/convert.php(1269) : eval()'d code on line 24

Warning: copy(/forum/uploads/monthly_12_2014/post-2-0-24389000-1419442701.jpg): failed to open stream: No such file or directory in /home3/gatlirum/public_html/Forumtest/convert.php(1269) : eval()'d code on line 24



Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,966
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting questions
« Reply #44 on: October 17, 2020, 11:09:21 AM »
Maybe needs the full file path in the copy statement I notice /forum/
Is /forum located in /home3/gatlirum/public_html/
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #45 on: October 17, 2020, 11:19:35 AM »
Maybe needs the full file path in the copy statement I notice /forum/
Is /forum located in /home3/gatlirum/public_html/

I was wondering if I should copy the uploads folder of IPB to the attachment folder of SMF.... Like I said in the beginning, I know enough to get in trouble :)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,966
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting questions
« Reply #46 on: October 17, 2020, 11:25:22 AM »
That wouldn't do anything in terms of the conversion.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #47 on: October 17, 2020, 11:32:22 AM »
I didnt think so either, at some point do they end up there or just stay with the IPB forum?

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #48 on: October 17, 2020, 11:39:04 AM »
One thing I did notice my IPB attachment table, attach location is "monthly_06_2020/post-316-0-39820500-1590982792.jpg"

Shouldnt it be, uploads/monthly_06_2020/post-316-0-39820500-1590982792.jpg.... Because , thats where they are

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #49 on: October 17, 2020, 02:16:00 PM »
Maybe needs the full file path in the copy statement I notice /forum/
Is /forum located in /home3/gatlirum/public_html/

I think the path is the problem. What do I change? The convert.php file or other

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #50 on: October 18, 2020, 01:09:09 PM »
So far I have checked the permissions, the file/folder path, it all seems good. But still getting the same error. Its like the converter doesn't see the folder. It see's all of the attachments from the IPB attachments table but not the actual folder. There has to be something I am overlooking!

I guess my only option at this point is to add them one by one  :'(

Offline daveo1

  • Semi-Newbie
  • *
  • Posts: 61
Re: Converting questions
« Reply #51 on: October 18, 2020, 06:45:10 PM »
I got it! I ******ing won!

Since this was a "non working" version of IPB, it made it hard to check things. In the end, I had to change the path in a old database table to point the converter to the correct directory.

Thanks vbgamer45! And  Illori, administrate.php got me in!

I could post more details if it would help someone out....