![]() |
Quote:
HTH |
I've found a temporary fix for the "admin/first user" bug.
The dilemma: I'm working on a project that is requiring a pretty complex setup, and this plugin was a crucial part of it, especially due to the fact that we need to fully support multiple contributors. Unfortunately, we ran into a huge issue during development, the issue being a bug where the author ID would change to 1, no matter who was editing it. Ultimately, it came down to a box on the post editor which allows one to change the current author of the post being edited. This box works fine without the plugin active because it would pull the list of authors from the WP database, but the vB bridge does not push it's users into WP, so WP would still only find the same users in it's database. That means when anyone edited the post and saved it, the author box would default to user #1 (usually 'admin'), because, as I mentioned earlier, it does not "see" any of the vB users. The solution: Make A BACKUP Of Both Files BEFORE You Make ANY Edits! These are core files, and can ruin your Wordpress backend. You Have Been Warned! Open: wp-admin/includes/edit-form-advanced.php Find and Delete/Comment: PHP Code:
Open: wp-admin/includes/edit-page-form.php Find and Delete/Comment: PHP Code:
That's it! I'd love to figure out how to make the plugin disable this box, and will probably try to do so once this project is done, unless the developer beats me to it. One last reminder: Because we made core file edits, there's a strong chance that the changes you've just made will be overwritten in future upgrades. |
Is this working with vB4.0 or not?
|
Does anyone know how to display the authors details / about me (Biography, Location, Interests, Occupation ) in a post?
I have tried various solutions such as: <?php echo $vbulletin->userinfo['location'] ?><br /> <?php the_author_ID(); ?> <?php the_author_meta(); ?> <?php the_author_description(); ?> but no luck I am desperate to find how to do this and have't had much success googling or searching for it. |
hey people i'm back!! :D
Quote:
Quote:
|
I have this installed and working great on 3.8.4. Thanks for the great mod, dev! Also thanks for the help with the install amjadz4!
|
Quote:
|
does this really work with vb4.0? I mean, no bugs or whatever?
|
Quote:
Quote:
|
Sorry for the NUBIE question here but I am having a hell of a time finding
the_author where is this located.... Is it in WordPress or vBulletin and can anyone tell me which file... I went through every PHP file and could not find a single instance of the_author... Thanks in advance for the helping!!! http://allinjac.com/blog http://allinjac.com/forums |
All times are GMT. The time now is 04:55 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:
|