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 07-15-2005 02:52 PM

Quote:

Originally Posted by tomjinx1
Does this newest version fix the missing text in the group permissions? I have looked everywhere through this thread and can't find how to fix that problem.

The missing text was an installer problem and yes, I believe the new installer handles that.

tomjinx1 07-15-2005 02:55 PM

Great Thanks...

Martin 07-15-2005 08:56 PM

Quote:

Originally Posted by amykhar
The missing text was an installer problem and yes, I believe the new installer handles that.

No, it doesn't. My usergroup permissions are all blank :ermm:

I just installed this like 10 minutes ago. I had all kinds of problems.
  1. The "admincp" folder is called "adminp"
  2. The instructions call for "install_userpage.php". It's "installuserpage.php" in the zip file
  3. I got a database error creating the table. I finally just created it manually and removed the query from the installer.
  4. There is no mention of what the "userpageupdate.php" is for. No instructions on whether or where to upload it. I would assume, since you used a folder structure, it goes in the forum root, but that's just a guess. Does it need to be uploaded at all?
  5. No text in the Usergroup Permissions
This has the potential to be a GREAT addon for boards. Keep up the good work :)

amykhar 07-15-2005 09:00 PM

Quote:

Originally Posted by Martin
No, it doesn't. My usergroup permissions are all blank :ermm:

I just installed this like 10 minutes ago. I had all kinds of problems.
  1. The "admincp" folder is called "adminp"
  2. The instructions call for "install_userpage.php". It's "installuserpage.php" in the zip file
  3. I got a database error creating the table. I finally just created it manually and removed the query from the installer.
  4. There is no mention of what the "userpageupdate.php" is for. No instructions on whether or where to upload it. I would assume, since you used a folder structure, it goes in the forum root, but that's just a guess. Does it need to be uploaded at all?
  5. No text in the Usergroup Permissions
This has the potential to be a GREAT addon for boards. Keep up the good work :)

The userpageupdate.php was for an earlier upgrade. Ignore it.

I think I am going to bail on using install files. The damn things are more trouble than they are worth. I'll rewrite the installation instructions so that y'all can manually add the phrases, templates and queries.

Amy

Martin 07-15-2005 09:17 PM

Quote:

Originally Posted by amykhar
The userpageupdate.php was for an earlier upgrade. Ignore it.

I think I am going to bail on using install files. The damn things are more trouble than they are worth. I'll rewrite the installation instructions so that y'all can manually add the phrases, templates and queries.

Amy

Thanks :)

I wasn't ragging on you, I promise. Just pointing out the problems I had. I do think this is a great addon :)

amykhar 07-15-2005 09:20 PM

I redid the zip file. No more install file. Real coders don't need no stinkin install file to tweak their boards anyway, right? :D

ThePimp 07-16-2005 11:10 AM

Quote:

Originally Posted by tomjinx1
Does this newest version fix the missing text in the group permissions? I have looked everywhere through this thread and can't find how to fix that problem.

I upgraded to Beta4, and the blank Usergroup permission settings are working now.

jesus likes pie 07-16-2005 06:59 PM

Quote:

Query
CREATE TABLE userpage (

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
help please.

dreck 07-16-2005 07:11 PM

Quote:

Originally Posted by amykhar
I redid the zip file. No more install file. Real coders don't need no stinkin install file to tweak their boards anyway, right? :D

hehe..

Dream 07-16-2005 09:21 PM

cool working fine

do I need to link "userpage.php" somewhere for people to create their pages?

attaching the userpage templates xml file to use with the template manager if anyone need

edit: and what is that .htaccess for?

jesus likes pie 07-16-2005 09:56 PM

post # 88 please...

Dream 07-16-2005 10:03 PM

Quote:

Originally Posted by jesus likes pie
post # 88 please...

how did you run that query? that doesnt seem to be the full query in the install.txt

amykhar 07-16-2005 10:12 PM

Quote:

Originally Posted by jesus likes pie
help please.

That's not the full query. You only copied the first portion. Get it all on one line, copy and paste.

Dream 07-17-2005 08:07 AM

let me suggest a link in the userpage.php?do=list "create your page", cause im not finding it anywhere... and then you can just use the list as a link to the pages

also in the list there seems to be an empty row in the bottom of the list.

Code:

<tr>
<td class="tcat" align="left"></td>
<td class="tcat" align="right"></td>
</tr>

oh thats the userpage_list_bottom template, $prevlink/$nextlink are empty for me
im gonna use it to put the "create your page" link

another minor issue, "Users With Personal Pages" used as title is hardcoded, also "Page Last Updated on", also you should use "vbdate($vbulletin->options['dateformat'], $lastupdate, true)" instead 'Y-m-d' format, "'s Personal Page" is hardocoded, maybe a phrase in the format "Editing {1}'s Personal Page", also if you leave your page empty it should consider you dont have a page (i was thinking about a "delete page" but then i had the idea to check that)

sorry if i sound annoying :P just giving feedback

oh and it really hurt you replied jesus like pie but not me


edit: and wol plugin is creating the wrong userpage link for me, seems $seeuserid doesnt exist


edit2: heres the userpage_list_bottom im using

Code:

<if condition="$show['member']">
<tr>
<td class="tcat" colspan="2" align="right"><a href="userpage.php?$session[sessionurl]">Go to my page</a></td>
</tr>
</if>
</table>


amykhar 07-17-2005 03:06 PM

The link in the usercp is in the next version. I just don't feel like creating a new release and all the problems that entails for such a minor change.

Sovereign 07-17-2005 03:25 PM

The link in the User CP is just a template edit. I even put it into the navbar under "Quick Links" too... Regsiter at my forums if you want, and see.

Dream 07-17-2005 04:59 PM

is that .htaccess for modrewrite

amykhar 07-17-2005 05:04 PM

Quote:

Originally Posted by Dream
is that .htaccess for modrewrite

Yes. It is.

amykhar 07-17-2005 05:04 PM

Quote:

Originally Posted by Sovereign
The link in the User CP is just a template edit. I even put it into the navbar under "Quick Links" too... Regsiter at my forums if you want, and see.

In my version, there is a check to see if the user has permission to create a member page before it shows the link.

jesus likes pie 07-17-2005 06:48 PM

Quote:

Originally Posted by amykhar
That's not the full query. You only copied the first portion. Get it all on one line, copy and paste.



O.K but you should have but it all on one line then...not divided it into like 8 different lines...

amykhar 07-17-2005 07:00 PM

Quote:

Originally Posted by jesus likes pie
O.K but you should have but it all on one line then...not divided it into like 8 different lines...

It was a pasting error. But, I'll admit it does require some common sense on the installer's part. I should never count on you guys to have that, I guess. ;)

Dream 07-17-2005 07:31 PM

edited

jesus likes pie 07-17-2005 07:32 PM

nope :P

I'm very new to SQL queries and try to avoid (nice job vbulletin by scarying me when putting "THIS CANNOT BE REVERTED in big bold letters) *shudders*

O.K I'll try again this time.

jesus likes pie 07-17-2005 07:40 PM

bla

ok i tried running this query and it didnt work either....as i said, i suck at queries..


Code:

CREATE TABLE userpage (userid INT( 15 ) UNSIGNED NOT NULL ,

*sigh*

Can you just give it to me without pasting errors?

sorry for my disability on this area.....

amykhar 07-17-2005 07:49 PM

Dream, please don't release mods to this code here. I already have many new features added to the code. I am just working toward the next release. Views is already added in, and it ensures the user's views of their own page aren't counted.

Amy

jesus likes pie 07-17-2005 07:55 PM

*sniff*

I really want this!

xxskullxx 07-17-2005 07:59 PM

Pie

Run this whole block

Code:

CREATE TABLE userpage (
userid INT( 15 ) UNSIGNED NOT NULL ,
pagedata TEXT NOT NULL ,
rating INT NOT NULL ,
dateline INT( 10 ) NOT NULL ,
username VARCHAR(255) NOT NULL,
PRIMARY KEY ( userid ))

then run

Code:

ALTER TABLE usergroup ADD userpagepermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL
Amy has written it standard, there is nothing confusing about it.

womensden 07-18-2005 05:55 PM

looks to me that there are some things missing. I have to go into my profile to even get to my page to edit it. Did I miss something or is this just incomplete?

amykhar 07-18-2005 06:18 PM

All you have to do is go to your page. The edit link is on the lower right corner.

womensden 07-18-2005 06:35 PM

I know. But I would like a link that takes users to their page without having to go into their profile.

womensden 07-18-2005 06:36 PM

Ok... I added a link to my navbar

amykhar 07-18-2005 07:04 PM

ah. I just have a link to the list of members who have user pages on my nav menu. Then, people can see all the pages from there.

womensden 07-18-2005 07:08 PM

what is that link?

amykhar 07-18-2005 07:08 PM

<a href="http://www.eaforums.com/forums/userpage.php?do=list" target="_blank">http://www.eaforums.com/forums/userpage.php?do=list</a>

womensden 07-18-2005 07:12 PM

ahh.. thanks! I couldn't find the link to list them all. That works better.

amykhar 07-20-2005 01:58 AM

Another Teaser: Personal Shoutboxes.

http://www.eaforums.com/forums/userp...main&userid=22

aethro 07-20-2005 05:50 AM

oh that is a big teaser ^^ Looks great gonna install this :)

shiva 07-20-2005 06:58 AM

Looks very nice, but I'm wondering on the server load with a shoutbox.

Also, I see a update 2 days ago, but I couldn't find info on what was updated?

Just curious anyway, I'm ordering my new server, so by the time I have it ready, maybe you will have file support by then?

This looks great, very nice, I'm sure my supporting members will like it as well.

amykhar 07-20-2005 02:55 PM

An update is coming out soon. I have added:
1. User Shoutboxes/Guestbooks.
2. An archive of Shouts so that only the 10 most recent show on the user page.
3. The ability to report pages for bad content. Reports are posted to the forum of your choice. (Feel free to change that on your own to use email or PM)
4. Page Views
5. The ability for mods to delete shouts.
6. The ability for mods to delete user pages.

What's not there yet - file uploads.

Right now, I have to go through and phrase the code, which is going to take some time. Then, I have to write up the upgrade and install info. So, expect the release out tonight or tomorrow. But don't nag if it's not :D

Amy

amykhar 07-20-2005 02:57 PM

Quote:

Originally Posted by shiva
Looks very nice, but I'm wondering on the server load with a shoutbox.

Also, I see a update 2 days ago, but I couldn't find info on what was updated?

Just curious anyway, I'm ordering my new server, so by the time I have it ready, maybe you will have file support by then?

This looks great, very nice, I'm sure my supporting members will like it as well.

The update two days ago wasn't to the code. I was adding a link to the member list in the first post.

Regarding the shoutboxes, the way these are done on the page, they are more like Guestbooks. And, you could call them that. They add one query to the page on a view and one if somebody shouts.


All times are GMT. The time now is 12:39 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.02070 seconds
  • Memory Usage 1,829KB
  • 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
  • (5)bbcode_code_printable
  • (14)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