vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Deluxe vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=173698)

Javi_gray 05-01-2008 01:58 AM

Quote:

Originally Posted by Ryan Ashbrook (Post 1503035)
Add this:

PHP Code:

echo ( "You currently have <a href=\"" $forumpath "profile.php?do=buddylist\">" vb_number_format $vbulletin->userinfo['friendreqcount'] ) . "</a> friendship requests." ); 


where do you find those phrases? are they located in one of the templates?

Ryan Ashbrook 05-01-2008 03:13 AM

No, none of the code I have posted so far is contained in any templates, only in the file called login_inc.php the mod author provided. (The file you use for the main site)

Javi_gray 05-01-2008 03:30 AM

Oh ok. Is there anyway to get all the notifications to show up. Like the ones that come from the dropdown menu.

croft 05-02-2008 12:33 PM

How can i fix it so when you are logged in it looks like on the forum ? 'Laying down not standing up' ?

And thanks for this :)

Ryan Ashbrook 05-02-2008 11:59 PM

Quote:

Originally Posted by Javi_gray (Post 1504127)
Oh ok. Is there anyway to get all the notifications to show up. Like the ones that come from the dropdown menu.

Sorry, I don't know, time doesn't permit me to dive into the workings of the notifications menu yet.

Quote:

Originally Posted by croft (Post 1505705)
How can i fix it so when you are logged in it looks like on the forum ? 'Laying down not standing up' ?

And thanks for this :)

If you mean the table, then that all depends on your website's design. You should be able to reference vBulletin's own navbar for examples, shouldn't be too hard.

croft 05-08-2008 11:48 AM

Quote:

Originally Posted by Ryan Ashbrook (Post 1506271)
Sorry, I don't know, time doesn't permit me to dive into the workings of the notifications menu yet.



If you mean the table, then that all depends on your website's design. You should be able to reference vBulletin's own navbar for examples, shouldn't be too hard.

Actually its not that easy, not for me anyway. My navbar template looks nothing like this php file in way o layout or coding :( Im not a coder guy and could use some help with this if possible ?

ramsayeg 05-08-2008 07:51 PM

I included global.php and I suddenly had an error with CuteNews:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/content/xxx/html/xxx/private/v3beta/newsconf/inc/functions.inc.php on line 43

The news showed, but this error came up at the top of the page. Is anyone aware of anything?

Update: Well, looks like I have ANOTHER problem and this is about the cookies it seems, as it logs me in but doesn't show. I have using different domains for the site/forums, will it cause me problems to log in in the forums, if I enter a custom Cookie Domain of my website's domain?

ramsayeg 05-09-2008 06:11 PM

Sorry to bump but, can anyone help me? (read previous post)

steveheinsch 05-12-2008 07:23 PM

How does this work with vb 3.7 GOLD? I assume fine, but just wanted to check.

Ryan Ashbrook 05-13-2008 02:02 AM

Quote:

Originally Posted by croft (Post 1512595)
Actually its not that easy, not for me anyway. My navbar template looks nothing like this php file in way o layout or coding :( Im not a coder guy and could use some help with this if possible ?

I'm not great with HTML, sorry.

Quote:

Originally Posted by ramsayeg (Post 1513021)
I included global.php and I suddenly had an error with CuteNews:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/content/xxx/html/xxx/private/v3beta/newsconf/inc/functions.inc.php on line 43

The news showed, but this error came up at the top of the page. Is anyone aware of anything?

Unsure, I don't remember htmlspecialchars() being used in it, unfortunately I don't have time to test.

Quote:

Update: Well, looks like I have ANOTHER problem and this is about the cookies it seems, as it logs me in but doesn't show. I have using different domains for the site/forums, will it cause me problems to log in in the forums, if I enter a custom Cookie Domain of my website's domain?
I'm unsure of this as well, Cookies are not my area of expertise.

Quote:

Originally Posted by steveheinsch (Post 1517562)
How does this work with vb 3.7 GOLD? I assume fine, but just wanted to check.

Works perfect, I'm using it right now. :)


All times are GMT. The time now is 09:07 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.01206 seconds
  • Memory Usage 1,745KB
  • 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_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)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