![]() |
*clicks install*
Thanks! |
Will this hack allow each user to have their own blog page? That is, instead of all blog entries by all users being displayed on a "main page", I'm looking for a way for each user to have their own blog and blog page, and be integrated with vb's user db.
|
Jafo,
you've done an outstanding job. The plugin is working marvelously. A feature that would be nice: right now, at the bottom of each post, there is a vbridge menu prompting to post in a particular forum or "Do not post in a forum". Could this be moved to the Options panel, so that we can toggle forum comments on or off universally, so we don't need to worry about it on a post-by-post basis? I guess some users may want the flexibility of choosing the forum they want the post to show up in. So maybe just a comments toggle on/off switch in the options panel, and then if it's "on", it'll give you the forum selection choice when writing a post? is this an easy thing to implement? Thanks, Jafo! |
Quote:
|
Quote:
I am a bit busy at the moment, but I will be getting back to this plugin soon, I will see if I can add it. I think you will be able to do this by finding this code: Code:
Do NOT post to a forum: <input type=checkbox name='nopost' value='1' onChange="if (fon == 0) { DeselectAllList(thedoc); fon = 1; } else { selectAllList(thedoc); fon = 0; }"> Code:
Do NOT post to a forum: <input type=checkbox name='nopost' value='1' onChange="if (fon == 0) { DeselectAllList(thedoc); fon = 1; } else { selectAllList(thedoc); fon = 0; }" selected> Code:
var fon = 0; Code:
var fon = 1; |
Hi Jafo,
Thanks for the reply. Unfortunately, that code change doesn't seem to have done anything to cancelling the "post to a forum" operation. :( |
Quote:
I am using vbulletin 3.6.4 and wordpress 2.0.7 Forum: http://www.webtalkforums.com/ Blog: http://blog.webtalkforums.com/ Any ideas why it's not adding users would be great. Thank you. |
I "think" the problem here is that one is at www.yourdomain and the other is at blog.yourdomain. Is there anyway you can make the blog something like www.yourdomain.com/blog/ ?
Also, are you using the latest version of this mod? It has changed quite a bit. |
Quote:
|
If you get stuck, pm me your AIM screenname and I will give you a hand. I should be on until 11pm or so.
|
Quote:
|
Quote:
|
thanks a lot... setting up tonight
|
Quote:
|
I am having an issue when I write a post - I get the following error, when I go back and edit it, it will give me the same error and post a new thread, instead of appending the previous. This was working fine and then it just stopped...
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 719904 bytes) in /public_html/forum/includes/class_dm_forum.php on line 19 I am using 2.04 version of the hack and 3.6.4 vb |
This sounds like an issue with your server. Your PHP install seems to be running out of memory.
Probably have to bump up your "memory_limit" setting in your php.ini file and then restart your webserver. Not much I can do for you there. |
Yeah I fixed it by putting this into the .htaccess
php_value memory_limit 24M Just odd that it would happen out of the blue |
Hey Jafo,
Does this plugin jive with the new Wordpress 2.1? Thanks! |
Quote:
|
I'm confused here. How is anyone getting this working in it's current form? I'm running WP 2.0 and it wasn't working. I looked through the code and found these lines:
Code:
$install = (basename($_SERVER['SCRIPT_NAME']) == 'plugins.php' && isset($_GET['activate'])); Code:
$install = (basename($_SERVER['SCRIPT_NAME']) == 'plugins.php' && $_GET['action'] == 'activate'); |
Quote:
What is the technical reason for Wordpress and vBulletin needing to share the same [MySQL] database, and is there any possibility of separating the two to use separate databases? |
Quote:
If you open the plugins.php file you will note: Code:
wp_redirect('plugins.php?activate=true'); Nobody has reported any problems activating the plug-in. You should note however, that there are issues with the plugin page in wordpress because it uses AJAX and the developers did not take into account all the possible cache settings browsers/ISP's may be using. You can google: wordpress plugin page AJAX, to see more about this. |
Quote:
http://www.google.com/search?hl=en&l...22&btnG=Search However, from what I understand, PHP 5.x has addressed this issue. I may be able to rewrite the code to take that into consideration, but honestly, it is so easy for them to share the same database, that using two connections would just be a waste of resources. If you are vaguely familiar with phpMyAdmin or other such MySQL applications (navicat, etc) you can easily merge databases. There are many pages on the net that show how to merge databases, and here is one: http://www.everymanhosting.com/forum...d122ddc0190861 |
Quote:
|
Yep, I also got it to work on Wordpress 2.1 earlier this afternoon.
Thanks! (BTW, hate to be a pain, but i was never able to get the disable "post to a forum" option to work. Any ideas?) |
Quote:
I was also having session issues because we have a login box in the upper corner on our theme. This submits to the vB login.php file so it can set up the appropriate session cookies there before shooting back to WP. I created a small vB plugin to redirect back to the WP install if that's where you were logging in from. So, there were some cookie domain and path issues because we have the scripts in /board/ and /WP/. The cookies are *supposed* to be setting with .domain.com and / for the domain and path respectively. But they weren't due to the $vbulletin global not being available inside of the vbsetcookie() function. This is because you were calling require_once('./includes/init.php'); inside of vb_Init(). Since it's inside of that function, things get messed up further down the call stack. I commented that out (along with the CWD stuff) and just put a require_once('./global.php'); to be done with it. Nothing vB does interferes with WP, so it's safe to do so. That fixed it getting the correct domain settings and such. However, I noticed you weren't using the built-in vB session handler. I'm not sure why you'd want to do this, since the code is much more robust and production-tested. So, I took out the define at the top, and converted all the $vbuser stuff to $vbulletin->userinfo, and it runs perfectly now. The last issue was also with the login box. When you're logged in, it says your name and shows a log out button. However, you had to refresh the page at least once for this to show up, as the bridge code is setting a cookie, but not setting the current user for the current execution of the script. So, I just added a set_current_user($results->ID,$vbulletin->userinfo['username']); to vb_Init() after the setup_userdata() calls, and that fixed everything. I'd also recommend you do some proper formatting on this code. It's a harder to work with when there isn't standard formatting throughout. The tab key is your friend :up: |
Quote:
I need to clarify my reasons for wanting|needing a separation of d/bs between WP & vB: it basically boils down to 2 factors - security & server load balancing. The hosting company we're using for our vB 3.6.4 forum is quite restrictive and a recent request to upgrade from PHP4 to PHP5.2.0 resulted in PHP 5.0.4 being installed & running under CGI in Apache [was not CGI under PHP4], also register_globals is enabled under PHP 5.0.4 [CGI], I have a feeling things are going to go pear-shaped very soon :(. From a security POV I would prefer to have 2 separate MySQL d/bs for WP & vB respectively, although it probably won't make a huge difference, it might limit some damage. ITO load-balancing, the option of being able to run a separate MySQL server [b] for WP and other stuff, and keep the PHP for WP & vB running on the same server [a] that vB has its d/b on. |
Quote:
I've got a question on this, I'm thinking of using Wordpress as my CMS for the site, as I'm fed up of my site looking like every other forum based site. So does this preclude me from using wordpress as the front end as users will have to have logged into VBulletin firstly ? |
Quote:
Quote:
Also, if you require ./globals from inside a function, you are going to get init errors from VB under certain circumstances. This is why init was called instead inside the vb_Init function. I am assuming that since you have clicked uninstall on the plugin, you may have figured this out already. Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
Also, your code requires a user to check the "Remember Me" box when logging into vB for the bridge to pick up on the login. You're checking against the bbpassword cookie, which isn't available unless that box is checked. Since not everyone checks it, that's another reason for using vB's session handler. |
Hi,
first of all thx, for the great plugin! I allways wanted something like that. I have to say that I?m a noob with Wordpress and vBulletin so i hope you guys can help me a bit. I installed the vBulletin Board 3.6.4. It works great. After that i installed Wordpress 2.0.7 (german). Now i installed the wordpress plugin till the point with the testpost. It works - very nice :up:! So, the next point would be to map the usergroups. But there i get an error: WordPress database error: [Table 'datdabaseXY.usergroup' doesn't exist] SELECT * FROM usergroup. :confused: Does someone know what to do here? Thank you so much Marc [edit]I added 2 Screenshots[/edit] Please help! :o |
Does this work with the latest wordpress version 2.11 Ella?
Want to know before I make a major upgrade. |
I just want this to share users with vb. Is this possible. I tried reading the ReadMe file and it completly confused me. I do not want it to post comments in my forum or post any other threads for that matter, I want the comments to stay like they are now. Basically all I want it for is to share users, registration only with vb. You log into vb and you can comment and such on wordpress. When you click register in wordpress it takes you to the vb register page, when you click the username of someone who made the comment it takes you to the vb profile page of that user. Is that possible with this? And if so, how do I go about doing it?
I run vb 3.6.4 & wp 2.1 If this is not possible is there a blog type add on for vb that can be used. Here is my blog right now so you can basically see what it is being used for: http://www.usmchangout.com/blogs |
Quote:
|
Quote:
|
Quote:
|
Hello Jafo :-),
no, i left it blank because i didnĀ“t know exactly what it is. Is the database prefix directly written into the database or just something like the database name? big thx for all your work! Marc |
The database prefix is a VB setting. You can find it in your config.php file. Example:
$tableprefix = 'vb_'; This would make your prefix vb_ |
All times are GMT. The time now is 01:02 PM. |
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:
|