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)

amykhar 08-16-2005 07:31 PM

Nope. This mod is self contained.

amykhar 08-17-2005 04:53 PM

Quote:

Originally Posted by thecool
my phrases still aren't showing up. i went to phrase manager opened and saved a random phrase, still doesn't save.

my bitfield is saved in the includes>xml folder. the xml page is installed properly.

any reason why the phrases aren't showing up?

I ran the install script and saved the phrases for him. It's working now. He just needs to upload userpage.php to his forum directory.

Amy

JirQUEST 08-18-2005 05:15 PM

it just didnt work for me. i had that problem with deleting user pages... i uninstalled it and then found the solution. when i tried to re-install, the phrase table had some duplicate key which i couldnt get rid of, simply because i didnt know what it was. could have been a great plugin for my site.

amykhar 08-18-2005 05:18 PM

Once it's upgraded to a product, it won't be a problem anymore.

EasyTarget 08-18-2005 11:12 PM

I read the entire 22 pages here but still didn't see a fix to the problem about deleting userpages. (I get a permission error even with the permission set)

Also on the report page post I get:
Code:

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
at the top of the post and also the link to the user is:
http://userpage.php?userid=292
is there a way I can edit it so that the code doesn't appear and that the full url to the page is added?
I also get the unknown location problem in the WOL box.
On the deletion confirmation screen (which it doesn't allow me to do) it shows the footer and header twice.

I think it'd be handy to be able to disable shouts and/or allow users to disable shouts on their page.
Another idea I think would be useful is to add a row on the memberlist section to show if they have a userpage and maybe a link to it if they do.
Also to add a link to it in their profile.

btw, great hack!! :D

Andrew 08-18-2005 11:30 PM

Quote:

Originally Posted by EasyTarget
I read the entire 22 pages here but still didn't see a fix to the problem about deleting userpages. (I get a permission error even with the permission set)

Check out the following thread and perform the code edit on userpages.php - I was just having the same issue and it fixed the problem for me.

https://vborg.vbsupport.ru/showpost....&postcount=268

EasyTarget 08-18-2005 11:56 PM

thanks andrew, worked great. I do remember that post now, just wasn't sure if anyone had tried it successfully, but works good.

thetoolman 08-19-2005 11:50 AM

Hi
I keep getting this error:

Warning: main(DIR/includes/functions_editor.php): failed to open stream: No such file or directory in /userpage.php on line 76

Fatal error: main(): Failed opening required 'DIR/includes/functions_editor.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/userpage.php on line 76

Do i have to create a directory and then upload the files in that directy? At the moment my forum is in the root directory.

Also, when it says import the xml file, how do i do that?

Thanks

amykhar 08-19-2005 11:58 AM

As far as importing the xml, here you go: https://vborg.vbsupport.ru/showthread.php?t=82621

I am not sure what your path problem is. The include statements are formatted the same way that jelsoft does it. Let me check with somebody and see if they know what the issue could be.

Amy

amykhar 08-19-2005 12:11 PM

Never mind toolman. I just looked at your site. You are using 3.0.8. You will not be able to install ANY of the hacks in the 3.5 section

Amy

amykhar 08-19-2005 07:39 PM

If any of you are using vbseo on your site, here are the custom redirects you will need for userpage.php

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'


Mr Chad 08-25-2005 11:54 PM

Nice great install, fast and worth it.

amykhar 08-25-2005 11:57 PM

It won't increase when you view your own page. Somebody else has to view it.

Mr Chad 08-26-2005 12:01 AM

Quote:

Originally Posted by amykhar
It won't increase when you view your own page. Somebody else has to view it.

yea sorry I got it to show a few.

Mr Chad 08-26-2005 12:06 AM

umm what would i put in the member info template so it shows their page link only if they have a page i have this so far
Code:

<if condition="$show['edituserpagelink']">
<tr>
<td> ChatBum Page: <br />
<a href="/userpage.php?do=main&userid=$userinfo[userid]">Personal Page </a></td>
</tr>
</table>
</if>


pipin 08-26-2005 06:40 AM

I'm wondering if this nice hack could somehow combined with the Form Hack (https://vborg.vbsupport.ru/showthread.php?t=93970) to make the user pages standardized for e.g. to use it as a Systeminfo page for the users pc (btw i'm still wondering that there is no systeminfo around yet or i didnt find it :rolleyes: )

Yorixz 08-29-2005 01:59 PM

Looks very very nice; I'm surely going to install this when vB3.5 goes final (and if it's compatible with it ofcourse)

amykhar 08-29-2005 02:02 PM

It will be. I use it on my site and I always upgrade to the latest version of vbulletin :)

EasyTarget 08-31-2005 07:44 AM

sorry if this has already been asked, but is there some code so that when I click on a users name in a thread that will add an option to the pull down menu to show a link to their member page if they have one?

Boofo 08-31-2005 09:46 AM

Quote:

Originally Posted by EasyTarget
sorry if this has already been asked, but is there some code so that when I click on a users name in a thread that will add an option to the pull down menu to show a link to their member page if they have one?

Yes, I'd also like to see this. ;)

Bojangles 09-03-2005 06:01 AM

This mod is absolutely awesome. This will help keep our forums active, which is better for our gaming community. Thanks for creating this! :)

Viperlx 09-03-2005 10:01 AM

I don't think this should be happening

Invalid File Specified

The happens when I try to import the plugin

amykhar 09-03-2005 12:48 PM

Viper, there is a sticky thread at the top of every 3.5 release forum about that problem.

Dream 09-05-2005 01:21 AM

Some member used <script></script> in his page and it messed it up, not sure why.

TbChampions 09-06-2005 02:19 AM

I've installed this mod and I suppose all seems good. I can reach a page without any custom pages made yet.

My problem is that there's no link in the User CP for users to be able to create a page.

I DID follow the instructions:

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>
----------


But my link's not there. I'm signed on as an Admin with permissions set, of course, for me to be able to add/view, etc. the Custom Pages.

Any ideas?

amykhar 09-06-2005 11:26 AM

There is an associated plugin that makes those links work. I'll look at it and see if I can find any issues. It's time to get back to work on this mod anyway. ;)

Amy

Zachariah 09-06-2005 02:14 PM

Looken good ma'am. I'll try this out.

ohgenki 09-06-2005 02:55 PM

amy ! have u forgotten all about me ?

amykhar 09-06-2005 05:16 PM

Quote:

Originally Posted by ohgenki
amy ! have u forgotten all about me ?

Nope. I'm here. Just got busy over the holiday weekend. I'm back to the coding grind today :)

TbChampions 09-07-2005 12:10 AM

Just checking back to see if anyone knew what I must be doing wrong. I see you might be thinking about it, Amy. Thanks.

Btw, I'm very new to all this software -- I have the forum, CMPS and gallery that I'm trying to get all set up. There's definitely a learning curve that I've just started climbing. But I wanted to send out a big thanks to you, Amy, as you've contributed a ton here. Great ideas, great work, good job! So thanks!

amykhar 09-07-2005 12:52 AM

Thank you :)

ohgenki 09-07-2005 04:19 PM

Quote:

Originally Posted by amykhar
Nope. I'm here. Just got busy over the holiday weekend. I'm back to the coding grind today :)

i thought u went missing, i kinda need it urgently before the 10th of sept, as we're doing some major launch, is that possible ? also can we look into long term partnership on coding ? we have alot of stuffs to code and we believe u're the expert in this field.

nexialys 09-07-2005 05:58 PM

Quote:

Originally Posted by ohgenki
i thought u went missing, i kinda need it urgently before the 10th of sept, as we're doing some major launch, is that possible ?

i hope Amy is not going to rush because of some timesheet for someone else... she is doing the best job possible (more, she is doing the best, dot!).
Quote:

Originally Posted by ohgenki
also can we look into long term partnership on coding ? we have alot of stuffs to code and we believe u're the expert in this field.

kinda personal ... you're better contact her privately if it's not done!

amykhar 09-08-2005 01:48 AM

She tried. I've been ignoring PMs the past few days cause I've been buried between getting the kids back to school and working my night job. I have been one sleep-deprived coder.

EasyTarget 09-08-2005 03:41 AM

wow, I never realized how much time it would take to get the kids to and from school.
my 6 year old is in kindergarten in the afternoons and my 4 (5 in oct) has preschool in the morning, plus I have a 3 and a half year old that requires someone to be with her all day (except for ballet class) and I'm in college while my wife is working and we have one car. Luckily my sister in law is living with us while she's going to school so we can kinda take turns carpooling the kids around while the other has class.

I'm pretty pooped after the first week.

Hawkbizkit 09-08-2005 10:17 PM

btw on lines 767-770
PHP Code:

  if ($pageexists)
  {
      
print_no_permission();
  } 

is missing the ! infront of $pageexists so people can delete pages....;) otherwise great mod.
PHP Code:

  if (!$pageexists)
  {
      
print_no_permission();
  } 

there are also a few other bugs in that area but i forgot what they where but you should see them when u check it out i think lol...

amykhar 09-09-2005 12:42 AM

I thought I fixed that one a while back? Sometimes I wonder if attachments here get updated when I change the zip.

Blaine0002 09-11-2005 04:33 AM

hmm, looks great, except i have a few problems and questions...

i set the usergroup permissions and such, but my test account still has no button in his usercp to make a userpage. while my admin account does.

and umm...

how do i go to other peoples userpages? when i go to userpage.php it loads mine up.

EasyTarget 09-11-2005 08:31 AM

userpage.php?do=list is the list of everyone with a page I believe.

Boofo 09-11-2005 09:38 AM

Did anyone ever come up with a way to add the link to a user's userpage only if they have one in the postbit username dropdown?


All times are GMT. The time now is 10:26 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.02979 seconds
  • Memory Usage 1,826KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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