vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Give Your Users a Custom Page on Your Site (https://vborg.vbsupport.ru/showthread.php?t=91903)

Morgalis 10-24-2005 03:26 AM

I'm amongst the people that have SEO set up and the .htaccess messes with the links.

I'm not certain how to make changes so both these can work together, is there a process to uninstall this hack until I can find a way for them to work peacefully together?

Parture 10-24-2005 07:48 AM

http://biblocality.com/forums

I just got a database crash and I can't access my forum at all. I tried to uninstall these instructions using installuserpage.php, choosing uninstall and got some error. I did this because I was trying to get rid of one the user's User Pages after I deleted the user. I am stuck and my forum is dead now.

Any ideas?

Installation instructions

1. Upload installuserpage.php and userpage.xml to your admincp directory. Run installuserpage.php

2. upload the userpage.php and .htaccess to your forum directory.

3. Upload bitfield_userpage.xml to your includes/xml directory. Rebuild your bitfields.

4. In your admincp usergroup manager, set permissions for each of your user groups.

5. In your usercpshell template Find:
---------
<if condition="$show['siglink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td>
</tr>
</if>
-----------
Add After:
----------
<if condition="$show['createuserpagelink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="userpage.php?$session[sessionurl]do=create">Create Your Userpage</a></td>
</tr>
</if>
<if condition="$show['edituserpagelink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="userpage.php?$session[sessionurl]do=edit">Edit Your Userpage</a></td>
</tr>
</if>
----------

6. import the userpage_plugin.xml

7. Add a link to the list of userpages somewhere on your site (i.e. your navbar. The link is <a href="userpage.php?do=list">User Pages</a>

You are good to go!

amykhar 10-24-2005 11:11 AM

Morgalis, don't use this htaccess if you have vbseo. What you need to do is set up custom redirects. I believe they are posted at the vbseo site.

The Wise One 10-24-2005 02:40 PM

very cool add on. will be real useful for our users.

i am having a small problem when reporting a user page. as an admin...i can report any page and the report is posted in the forum i specify in userpages.php. my problem is...if any other usergroup reports a page, the report is posted but it is sent directly to the moderation queue. ive checked the usergroup permissions and the forum permissions. they are setup as they should be.

also...i was getting a javascript error when creating/editing a page. removing this code fixed that:
Code:

" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>
i, too, was getting the odd report page message formatting. i just removed the reference to doctype from the template and fixed the url so it would show correctly:
Code:

$vboptions[bburl]/userpage.php?$session[sessionurl]userid=$userinfo[userid]

subnet_rx 10-24-2005 02:47 PM

nice work, when do you think you'll get to complete it with the planned features?

bane1 10-24-2005 03:26 PM

Any working examples of this hack?

???`S?LV?R???` 10-25-2005 07:27 AM

=============================================
Open Template: usershout_archive_row
---------------------------------------------------

Find: /forums/member.php

Replace With: /$vboptions[bbtitle]/member.php

=============================================
Open Template: usershout_row
----------------------------------------

Find: /forums/member.php

Replace With: /$vboptions[bbtitle]/member.php

=============================================

???`S?LV?R???` 10-25-2005 11:20 AM

Btw Amy, do you got your ibpro working for 3.5 gold? cause the instructions I got won't work for it due to certain codes not being there...etc

davidw 10-25-2005 08:45 PM

<font color="SeaGreen">* christian clicks install</font>

I've not seen any problems yet, and don't forsee any either.

Goatpod 10-26-2005 10:34 AM

Took me a while to get up and running - more down to my lack of knowledge than anything else, but it's working fine now :)

Apart from when edtiting user group permissions - I'm still not getting the labels, and don't know what to look for in the phrase manager to open and save them!

Cheers, Amykhar - a much appreciated addition :)


/EDIT: Aha, got the little buggers - everything's working fantastically now. Thanks again :)


All times are GMT. The time now is 11:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02176 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete