vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Webpage & Guestbook Script (https://vborg.vbsupport.ru/showthread.php?t=71065)

ACentral 12-05-2004 06:05 PM

Would it be too much trouble for someone to whip up a quick mod to show an icon or link in postbit for those users who have webpages? I tried myself but with no luck.

frage 12-05-2004 07:58 PM

Quote:

Originally Posted by ACentral
Would it be too much trouble for someone to whip up a quick mod to show an icon or link in postbit for those users who have webpages? I tried myself but with no luck.

http://www.vbulletintemplates.com/mo...ead.php?t=5957

this is the +gender hack+
I think you can modify it for your problem---
AdminCP > Profile Fields > Add new proofile field > Single Select Menu >
Title > Homempage (or any other one)
Description > Please select
Options:
Undisclosed
yes
no
Default Option: No, but not blank

make note of the field id

Template edit:
in postbit(_legacy)
find
HTML Code:


<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>

add under
HTML Code:


<if condition="$post[fieldX] != Undisclosed"><div>Homepage: $post[fieldX] <img src="$stylevar[imgdir_misc]/homepage_$post[fieldX].gif" alt="$post[fieldX]" /> </div></if>

x is the ID of your homepage profile fields


For the images to work you would need to upload

images/misc/homepage_yes.gif and homepage_no.gif

++++++++++++++++
I don?t try this...

frage

Swedie 12-05-2004 08:53 PM

Quote:

Originally Posted by Nordinho
Hey Swedie, by removing a table I managed to get it displayed, without really breaking the layout...

Have you looked after the 'more link' on the smilie box?? Would it otherwise be possible to just remove the more link and only show the default smilies??

By the way, I've just noticed that there are quite some templates not being cached...

Greets,

I got that "more" link working a while ago, but I must've not included it in the update. I'll check into it.

Nordinho 12-06-2004 01:14 AM

Quote:

Originally Posted by Swedie
I got that "more" link working a while ago, but I must've not included it in the update. I'll check into it.

Oke thanks...

ACentral 12-06-2004 07:20 AM

Quote:

Originally Posted by frage
http://www.vbulletintemplates.com/mo...ead.php?t=5957

this is the +gender hack+
I think you can modify it for your problem---
.......

Thanks! I may do it this way. I was hoping for something to automatically recognize webpage content added and display the icon, rather than the user having to select a profile field saying they've filled it out, but this should do. Thanks again

If anyone knows how to have it automatically recognize when a user's webpage has content, I'm sure more than a few people would appreciate it.

Wordplay 12-07-2004 09:07 AM

okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?

lakers6473 12-07-2004 10:57 PM

Quick question.. is there any way that i can add a music background in the profile through this hack? I have this hack but when i add backgroud sound in the html, it does not play.. just a question..

Tchrin 12-08-2004 07:56 AM

Great hack, thanks a lot. A few comments/bugs -

In the installation_READ_THIS_ONLY.txt file (I haven't looked at the upgrade one so not sure if this is true there as well)....

-In the 2nd important part you say to Click "Update". This should read Click "Save"

-Also in the 2nd important part you say apply new General Permissions settings for all the usergroup you have!. This isn't necessary, you only need to update the permissions for any groups that have primary users in them. Which for most people will probably only be Registered Users, Users Awaiting Email Confirmation & Administrators.

-Clicking the [more] link in the smilies box doesn't work. It just refeshes the edit webpage you're on. I have some 330 smilies on my forum (at ATITD.net btw) so it'd be good if my users could use them on their MiniSites.

ogetbilo 12-08-2004 01:01 PM

Quote:

Originally Posted by Wordplay
okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?

Just remove all the phrases from database and reinstall just the phrases. After this you have to search for one of your phrase and save the phrase again. After that your problem should be solved.

Wordplay 12-08-2004 01:46 PM

how do i remove ALL the phrases? you mean one by one?

i don't even know how to do that, i can just find an edit option in my phrases in the ac.


All times are GMT. The time now is 07:40 PM.

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.01906 seconds
  • Memory Usage 1,748KB
  • 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_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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