XF 1.5 Test import before proper move

PJK

Active member
I'm about to move a large forum from vB 4 to XF. I want to test the import and make sure all works and play around with the site for a few days before releasing it live. What's the best way of doing this?

Once I have the data imported to play around with, how do I clear the database such that when I'm ready to do the actual full migration to go live, it is up to date?

Thanks.
 
Code:
<xen:if is="!{$sidebar}">
is the syntax, but depending on where you're putting it, it might not function as you expected (this would apply only in the PAGE_CONTAINER template).
 
It'd have to be done in something that isn't really a notice, in the template in question (PAGE_CONTAINER). I don't really know what specifically would be needed. Alternatively, you may need to reconsider what you're trying to do.
 
The number of posts the last few days dropped significantly, from like 300+ to 120:
https://www.dropbox.com/s/46khiux5t8yqsue/Screenshot 2016-04-25 09.54.10.png?dl=0

This is the first time this has happened. No one has complained and I didn't notice any downtime. I contacted the host they said there wasn't any downtime. What's the best way to troubleshoot this?

I do want to make sure things are optimized too. Here is the my.cnf:
Code:
[mysqld]
default-storage-engine=MyISAM
innodb_file_per_table=1
max_allowed_packet=268435456
open_files_limit=13232
query_cache_type=1
key_buffer_size=16M
max_connections=200
max_tmp_tables=1
table_open_cache=512
local-infile=0
query_cache_limit=1M
thread_cache_size=4
query_cache_size=32M
join_buffer_size=1M
innodb_use_native_aio=0
wait_timeout = 300
interactive_timeout = 300

Any suggestions on troubleshooting and optimizing would be appreciated. Thanks.
 
In addition to the above, is it possible to search in threads, like in vB? I can't seem to find it after looking around and searching. A few users are complaining about this feature being gone. Thanks.
 
Many members are complaining about the 3 character limit on search, where any word three or less characters is ignored. We have a lot of 3 letter words that are common and needed, so this isn't working well with the forum. What's the best way to solve this? With vB we just replaced the search with Google Custom Search, how do you recommend handling this with Xenforo?

Thanks.
 
Well MySQL can be configured to allow 3 letter searches, though it does require root access to it (and index rebuilds when it's changed). The other common approach is to use Elasticsearch and XenForo Enhanced Search which doesn't have limitations with word length (and provides other features).

I don't have any experience with replacing the search with Google Custom Search so I can't really speak to what needs to be done with that.
 
Well MySQL can be configured to allow 3 letter searches, though it does require root access to it (and index rebuilds when it's changed). The other common approach is to use Elasticsearch and XenForo Enhanced Search which doesn't have limitations with word length (and provides other features).

I don't have any experience with replacing the search with Google Custom Search so I can't really speak to what needs to be done with that.
Thanks, how do I configure MySQL to allow 3 letter searches?
 
Well MySQL can be configured to allow 3 letter searches, though it does require root access to it (and index rebuilds when it's changed). The other common approach is to use Elasticsearch and XenForo Enhanced Search which doesn't have limitations with word length (and provides other features).

I don't have any experience with replacing the search with Google Custom Search so I can't really speak to what needs to be done with that.
Also, unrelated to the MySQL search, but another question about Xenforo.

This resource requires downloading on an external site:
https://xenforo.com/community/threads/reckons-team-google-custom-search.95820
In order to download, however, they require I submit my Xenforo license token to them on their site. Is there any safety issue with them having this? I find it a bit strange they require this when other resources can be downloaded right off of Xenforo. Thoughts? Thanks.
 
Also, unrelated to the MySQL search, but another question about Xenforo.

This resource requires downloading on an external site:
https://xenforo.com/community/threads/reckons-team-google-custom-search.95820
In order to download, however, they require I submit my Xenforo license token to them on their site. Is there any safety issue with them having this? I find it a bit strange they require this when other resources can be downloaded right off of Xenforo. Thoughts? Thanks.

Your xenforo token can be used on 3rd party sites along with your site name to authenticate with xenforo API. It has been made to prevent piracy.

However you can regenerate your token if you feel it has been compromised somehow.
 
  • Like
Reactions: PJK
Regarding URL redirects, a member recently brought up this issue, where specific posts links aren't redirecting properly.

For example, this old URL from vBulletin:
https://www.domain.com/forum/showth...5-Kevin-Hays&p=1090727&viewfull=1#post1090727

It redirects not to the specific post, but to the first post in that thread, when it should be redirecting to:
https://www.domain.com/forum/threads/6x6-single-1-33-55-kevin-hays.53612/#post-1090727

What's the best way to get the old URL to properly redirect to the specific post? Thanks.
 
Regarding URL redirects, a member recently brought up this issue, where specific posts links aren't redirecting properly.

For example, this old URL from vBulletin:
https://www.domain.com/forum/showth...5-Kevin-Hays&p=1090727&viewfull=1#post1090727

It redirects not to the specific post, but to the first post in that thread, when it should be redirecting to:
https://www.domain.com/forum/threads/6x6-single-1-33-55-kevin-hays.53612/#post-1090727

What's the best way to get the old URL to properly redirect to the specific post? Thanks.

There's no full post view in Xenforo. The link you posted should redirect the user to the specific post though like this: https://xenforo.com/community/threads/test-import-before-proper-move.114193/page-3#post-1068758
 
There's no full post view in Xenforo. The link you posted should redirect the user to the specific post though like this: https://xenforo.com/community/threads/test-import-before-proper-move.114193/page-3#post-1068758
How do I troubleshoot this? This old URL:
https://www.domain.com/forum/showthread.php?53612-abc&p=1090727&viewfull=1#post1090727

Redirects to (which just goes to the first post, neglecting the #post... at the end):
https://www.domain.com/forum/threads/abc53612/#post1090727
 
Last edited:
Thanks. That link you posted does work. How can I make these direct link post redirects work? There are many people who have old URLs that aren't re-directing properly.

I'm assuming that you were missing the "-" in your post id right?

Can you tell me what do you use to redirect links? Is it a script or nginx rules?
 
Top Bottom