vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBcustompage 1.0 (https://vborg.vbsupport.ru/showthread.php?t=41616)

rootnik 01-26-2003 06:05 AM

Velocd,

Great idea! Installation was easy, thanks for the hack :)

Jmonto 02-02-2003 12:16 PM

One questions did any one get an error with the first query?

alter table user
add custompageviews int(20) not null default'0'

Mine comes back saying the 0 isnt valid.

thanks

forumsinfo 02-02-2003 10:41 PM

Velocd,
you helped me a lot.

GoTTi 02-03-2003 04:31 AM

ok im getting confused...

in the help file...this info here...

PHP Code:

Now for the somewhat annoying partsFind:

PHP:  

$cpnav[7]="#1C5780";


And 
place below it:

PHP:  

$cpnav[8]="#1C5780";


Wherever $cpnav[7]="#1C5780"shows upyou need to add the $cpnav[8bit.

Do 
this also for MEMBER2.PHP, PRIVATE.PHP, and USERCP.php (which should all be alittle easier). 

and after making the modifycustomimage_bit

PHP Code:

MAKE SURE you modify the above templatesuch as the description and restrictionsto your own preferenceAlso where each and every secondaltcolor} and { firstaltcolorisyou will want to remove that spaceI currently use custom replacement setsso you will have to modify these colors to your likingbecause I'm sure the default look will look very bland. 

Please clear it up for me...I am not understanding what to do with these instructions..

Might be cuz I haven't got enough sleep or soemthing in past week, but it is throwing me off...lol

Colon33 02-05-2003 01:40 AM

Hey Velo Cd. Any word on making the pages updated via Custom Fields? or something like that? 1 Image field.. an intro field and maybe a body field? With one MAIN template to edit? Doesnt matter if they all look alike. But i would really think this would go over even better.

leviw 02-06-2003 07:57 PM

Sounds like almost exactly what I have been looking for, does anyone have it up and running that I could preview?

Im also very concerned about allowing users full html access, so if anyone has modded this to prevent certain malicious code, or more importantly to me if they have made it easier for non-code savvy users to input info, please let us know. =)

cklaszlo 02-07-2003 01:46 PM

I'd like to see what it looks like too? Thanks

leviw 02-13-2003 02:33 PM

Okay, downloaded it and checked the pics in the zip. For anyone else wondering what the finished board looks like, here are some examples:

www.sightunseen.org/temp/acp_shot.gif
www.sightunseen.org/temp/custompage_shot.gif
www.sightunseen.org/temp/custompage_shot2.gif
www.sightunseen.org/temp/interface_shot.gif
www.sightunseen.org/temp/userprofile_shot.gif

Any word on upgrading to vb code instead of html, or a more friendly user interface? :paranoid:

cklaszlo 02-13-2003 03:57 PM

Thanks for posting these!!! Big help.

Floris 03-02-2003 08:40 AM

One downside to this hack, the attachment feature is not used to let users upload their images to the server, and then use $custompage_image anywhere in their text. Now they are still required to upload it some place else :/

Or am I missing something ?

Koutaru 03-28-2003 02:22 AM

Thanks for the screen :) now I know if I want to install. Is there any way to have this NOT in the usercp? Because my navigation in usercp is pretty full do to vbpad and I added a separate avatar and sig section too

XD

msimplay 03-28-2003 07:46 PM

i can't seem to get it to work on version 2.3 version 3
on a clean install

blank page when i click on custom page

Floh 04-17-2003 08:43 PM

I got the same prob! Any hints?

MetroSports82 04-18-2003 12:20 PM

Quote:

02-02-03 at 09:16 AM Jmonto said this in Post #82
One questions did any one get an error with the first query?


alter table user
add custompageviews int(20) not null default'0'

Mine comes back saying the 0 isnt valid.

thanks

i know i'm kinda late with this.. monto, try adding a ';' at the end of that first query. i think thats what it was missing. otherwise, i have this working well on 2.2.9. ;)

irn-bru 04-20-2003 02:42 PM

This is about the most time consumeing hack I have
installed to date and yet so easy.

I was missing.

eval("standardredirect(\"".gettemplate("redirect_u pdatethanks")."\",\"usercp.php ?s=$session[sessionhash]\");");

}

Due to my own mistake and also in admin/user.php
there is 2 lines with.

makeyesnocode("Use email notification by default","emailnotification",$user[emailnotification]);

And also I have the vb members photo hack installed
and had problems with cpnav[8] I had to rename this
to cpnav[10] in all the file mods and template mods.

That did throw me off a little, but other than that the
hack works well. If I could recommend some any
thing it would be some cosmetic template changes
and also some buttons that will format the txt a wysiwyg
editer or something to that affect.

Here is s screen shot of a users page with the
cosmetic template changes.

Koutaru 04-24-2003 11:45 PM

any updates whether it works on 2.30? I really want to check before I install it =/

Keyser S?ze 05-04-2003 10:25 PM

any1 get this to work in 2.3.0?

Koutaru 05-05-2003 02:32 AM

I can't believe it! I have it working in my version of 2.30 ^^;.. yes!

ryans 07-13-2003 06:12 PM

great hack. I just installed it in 2.3.0, I was wondering how all users can view the pages. i enabled the members list. also, my page counter does not go up for some reason.

thanks!

Royal 08-02-2003 08:52 PM

PHP Code:

Parse errorparse error in /*******/member.php on line 1705 

the last line is ?> what could be the problem ?

Royal 08-02-2003 09:13 PM

fixed :)

Royal 08-03-2003 02:09 PM

ok i have some suggestions on this GREAT hack

- the page viewable in profile (under the normal fields) .. or tru the link (like its now) admins can select that

- the use of bbcodes instead of HTML, i guess thats pretty easy using vbulletin

- special codes like [username] = shows the username of the user that is viewing the profile, or [hits] shows the current hits the profile had

- tagboard (ive installed profile tagboard by the_wanderer)

- image upload functions after they reach an amount of posts (eg. 1000 posts = 2 images, 3000 posts = 5 images)

hope u can add these functions very soon to this GREAT hack, thnx for making something like this i realy like it.

greets.

pucca 08-19-2003 11:44 PM

Does anyone how to take off the header from the custom pages? :(

(edit) i got it ;)

DiscussAnything 10-23-2003 06:44 PM

Awesome hack, just did an installation without any problems :)

One question though. I changed it so that only certain usergroups have access (as opposed to the postcount). When I try to view the custom page for a user that doesnt have one or is not allowed, it still loads everything: the header and the 'body' bit, which obviously is empty. What do I need to do to add an errormessage, that the selected user doesnt have a custom page?
Also, when I do member.php?action=getcustompage (no user is selected) you get the errormessage that that users page has been disabled due to abuse. Could that be altered to show that no userid was selected?

thanks

Rampag33 11-04-2003 06:16 AM

If anyone got this to work on vb232 and have the change of instructions I would love to install this hacc.

bandersen 12-03-2003 04:42 PM

I have it working, but what if a member wants to upload an image that is not on some other server... ?

mfacer 12-10-2003 12:43 PM

i have installed the hack now - and I have changed a bit to that the user can only use VbCode, NOT html code. Any html code is not parsed, its displayed.... to do this, I change the updatecustom function bit....

above the insert to the DB, add the following line

Code:

//strip characters and do vB code
$custompage = bbcodeparse2($custompage,0,1,1,1);

that will turn the text the user enters in to the relevant code.... :)

the problem is, when the text is loaded to be edited again, I cant seem to find the function to turn it back in to vbCode.... anyone know how?


All times are GMT. The time now is 06:30 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.01244 seconds
  • Memory Usage 1,786KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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