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)

waza 01-15-2006 02:44 PM

.htaccess file is a well known issue. But we can't fix is as both amy & I use vbseo...

Dark_D 01-15-2006 08:31 PM

Quote:

Originally Posted by Club3G
I'm confused, but I'm on your time standard so we're probably in the same boat. ;)

What's giving you the 500? I don't get why you're going to the admincp instead of forum/userpage.php.

I'd kill that htaccess if I were you, sounds like something's not jivin' with your setup.

Well I noticed the problem while trying to work in the admincp. I would get the same thing on all site pages......don't understand why.....We can stop digging this hole...hehe thanks for the help.


Quote:

Originally Posted by waza
.htaccess file is a well known issue. But we can't fix is as both amy & I use vbseo...

Nice to know it's not just me and that I can live without it, thanks.

scoles15 01-17-2006 03:11 PM

I've installed and it works great. But I have a problem if I want my users to use it.
My directory structure is public_html/forums. userpage.php seems to have to be inthe forums directory and so does the .htaccess file.

But this means that my "short urls" are form:
http://ncwoodworker.net/forums/SteveColes
But I really want them to be of the form
http://ncwoodworker.net/SteveColes

I've tried a few things, but just as I think I've gotten it working, I realize something is broken.

Anybody had any luck in making it work like I've described?

groberthall 01-18-2006 03:22 PM

Has anyone tried to combine a more fully featured shoutbox or chat with this ? something like VBshout which uses ajax to auto refresh would be good .

Reece^B 01-18-2006 08:41 PM

hey,
I've installed this hack but im getting:
Reece, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Can anyone help?

EasyTarget 01-18-2006 11:52 PM

did you set up your usergroup permissions to be able to view/make pages? They're disabled by default I believe.

Totti 01-19-2006 11:57 AM

abybody already ?hrased this?
otherwise i'd like this hack to be phrased in the next update :)

Reece^B 01-19-2006 03:00 PM

Quote:

Originally Posted by EasyTarget
did you set up your usergroup permissions to be able to view/make pages? They're disabled by default I believe.

Sorry to sound like a N00B but where is that located?
Im on usergrup manager (if thats it) but i can't find the option your talking about.

Reece^B 01-19-2006 03:26 PM

If i was to create an test account could someone help me please?
Can you PM me.

Thanks

Reece^B 01-19-2006 06:06 PM

could anyone take a look?
I'm really stuck.
Thanks

Totti 01-19-2006 07:00 PM

should be at the very bottom of the settings

amykhar 01-20-2006 04:52 PM

He hadn't installed the product. I got him fixed.

MustangLisa 01-23-2006 05:34 AM

Cool, thanks!

drex 01-24-2006 05:06 PM

amy amy amy!

great hack!

stupidity edited out

thanks!

drex

nevermind - found the answer

sat here and read through each and every post.

i just don't know if what is d/l'd has all the syntax fixes applied.

is there an updated version coming out soon?

thanks for a great hack amy.

groberthall 01-25-2006 10:27 AM

s there any on going development of this hack ?

To my mind this is one of the most powerful and desirable hacks around but there is a definate need for some updating.

An Ajax shoutbox ( so shouts would show without refreshing page ) would be great,

A mini gallery so users could upload pictures for other family members / users to look at would also be excellent.

Is Amy, or anyone else with the kowledge, up for this ?

drex 01-25-2006 11:14 AM

ok, read this thing 3times.

my only problem:

my links are coming up as

userpage-user1.html
userpage-user774.html

using VBSEO and VB 3.53.

have the rewrite in .htaccess after the main vbseo rewrites..

i'd like to get rid of the user number.... can anyone help?

drex 01-25-2006 11:23 AM

tried moving them before the rewrites, no go...

please help!

amykhar 01-25-2006 11:32 AM

drex, use vbseo custom rewrites not the htaccess ones in this mod.

drex 01-25-2006 12:12 PM

amy-- great hack!

i did try just the rewrites.... i'm getting rewritten user #s and not names. i did then add the rewrites (just in case), and then removed them.... :( i'm not sure what i have done wrong!

thanks for responding!

HTML Code:

'userpage\.php\?do=list' => 'userpage-list.html'

'userpage\.php\?do=main&userid=(\d+)' => 'userpage-user$1.html'

'userpage\.php\?do=main&username=(\w+)' => 'userpage/$1.html'

I am not using the shoutouts (the display/input is commented out of the templates)...

thanks

drex 01-25-2006 12:59 PM

and then I found this from oleg:

HTML Code:

RewriteRule ^userpages/(^[-_A-Za-z0-9\ ]*$) userpage.php?do=main&username=$1 [L]
-- didn't implement this.

still getting the user# instead of id...

drex 01-25-2006 01:25 PM

another problem--

admins, mods can post.

regular users can view, not post.

secondary usergroup (custom) which is a subset of regular users, is supposed to be able to post. but they can't.

the permissions are set right. usergroup (9) can create, edit, view and not moderate; but in reality, they can't edit or create...

help!

drex 01-25-2006 05:41 PM

ok.

now everything seems to be working with permissions, except for the delete.....

i can seem to delete a page....

which fix do i apply?

also, still no working translation to username with the vbseo rewrites.. help, amy?

amykhar 01-25-2006 06:46 PM

That post from Oleg is old. I am pretty sure I posted my rewrite rules for vbseo in this thread.

drex 01-25-2006 07:16 PM

okay.

to fix the double delete thread confirmation screen, look in the template:userpage_delete_confirm

delete $header and $footer between the <body> and </body> tags and there you go! (also had an extra $stylevar[htmldoctype] at the top which I deleted).

The correct template should read:


HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>

<br />
<br />

<form action="userpage.php?do=dokillpage" method="post">
<input type="hidden" name="ownerid" value="$ownerid" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr class="alt1"><td>
<div><label for="confirm"><input type="checkbox" name="confirm" id="confirm" value="1" /><strong>Do you really want to delete this user's page?</strong></label></div>
</td>
</tr>
<tr class="alt1"><td>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[submit]" accesskey="s" />
</div>
</td>
</tr>
</table>

</form>

<br />
<br />

</body>
</html>


Don't forget to change :
HTML Code:

       
        // Check to see if the page exists.
  $pageexists = $db->query_first("SELECT * FROM ".TABLE_PREFIX."userpage WHERE userid = ".$ownerid);
 if ($pageexists)  {
          print_no_permission();
  }


to

HTML Code:

        // Check to see if the page exists.
  $pageexists = $db->query_first("SELECT * FROM ".TABLE_PREFIX."userpage WHERE userid = ".$ownerid);
  if (!$pageexists)
  {
          print_no_permission();
  }

this was posted earlier, somewhere, around post 360ish.........

drex 01-25-2006 07:23 PM

amy, i used the ones i found in this thread....

and they don't seem to work...

HTML Code:

'userpage\.php\?do=list' => 'userpage-list.html'

'userpage\.php\?do=main&userid=(\d+)' => 'userpage-user$1.html'

'userpage\.php\?do=main&username=(\w+)' => 'userpage/$1.html'

also not @ vbseo.com............

i'll look again............ :)

drex 01-25-2006 07:33 PM

found this here:

https://vborg.vbsupport.ru/showthrea...seo#post759579

HTML Code:

'userpage\.php\?do=list' => 'userpage-list.html'
'userpage\.php\?do=main&userid=(\d+)' => 'userpage-user$1.html'
'userpage\.php\?do=shoutarchive&ownerid=(\d+)' => 'userpage-shouts$1.html'
'userpage\.php\?do=main&username=(\w+)' => 'userpage/$1.html'


help!

apparently, someone else on vbseo never had this resolved, either...

thanks..

amykhar 01-25-2006 07:36 PM

These are the ones I'm using.
Code:

'^userpage\.php\?do=list' => 'userpages.html'
'^userpage\.php\?do=main&username=(\w+)$' => 'userpage/$1.html'

I don't bother with a userid on, but it wouldn't be hard to do.

amykhar 01-25-2006 07:38 PM

Yours seem to work for me:

http://www.x5world.com/userpage/ekaz.html

http://www.x5world.com/userpage-list.html
http://www.x5world.com/userpage-user774.html

drex 01-25-2006 10:06 PM

amy, i'm missing something here.

when i click on the list and select ekaz, the link is: http://www.x5world.com/userpage-user774.html

the url at the top of the info page is: http://www.x5world.com/userpage-user774.html

where did you see the /userpage/ekaz.html link? it does work though, that's what i was looking for......

but i was hoping on the list of users, they would see/use this as their link, instead of the user=# syntax....

drex 01-25-2006 11:29 PM

ps this mod rocks......... thanks!

drex 01-25-2006 11:42 PM

nevermind. i got it now. they do work. i thought the list would display the rewritten links...

thanks!

Anarchy 01-26-2006 08:46 AM

Is there a zip with all the fixes around?

Ugga Bugga 01-26-2006 12:00 PM

I am not able to see userpages in my adminscp for the usergroup permissions.

I'm not sure how to change this.

amykhar 01-26-2006 12:04 PM

1. Make sure you installed the product.

Anarchy 01-26-2006 12:11 PM

Uprading vbulletins will this break the plugin or make me loose any information?

Ugga Bugga 01-26-2006 12:25 PM

Quote:

Originally Posted by amykhar
1. Make sure you installed the product.

yes, I did install the product

Maagic 01-27-2006 04:22 AM

Great hack. TY!

<clicks install>

Anarchy 01-27-2006 12:25 PM

I have about 50 blank pages on my site because it is creating the entry when people click Create user Page, they are then not inputing anything into the edit field. So is there a way to only show the person in the list if they have more than say 1 or 2 charactors in their userpage?

Ugga Bugga 01-27-2006 01:06 PM

Actually I think I installed the product.

In the installation instructions, item 1 says Install the product. Perhaps I skipped this. My question then, is how do I install the product?

Trana 01-29-2006 06:54 AM

This is a really cool hack.

I didn't want to read through all 60+ pages of responses, and I can't find it in the search, but is there a way to enable photo uploads in the editor? A lot of my members are not URL savy and need an attachment button with upload functionality in order to make this popular.

Thanks.


All times are GMT. The time now is 04:04 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.02538 seconds
  • Memory Usage 1,830KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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