vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vS-Interactive Profiles (https://vborg.vbsupport.ru/showthread.php?t=150028)

Warlord 09-12-2008 05:39 PM

Quote:

Originally Posted by Konstantinos (Post 1605545)
Code:

<if condition="$bbuserinfo['userid'] == $post['memberid'] AND $bbuserinfo['userid'] != $post['userid']">[<a href="profilecomment.php?$session[sessionurl]do=newprofilecomment&amp;u=$post[userid]">$vbphrase[comment_back]</a>]</if>
this will show the comment back only to people viewing their own profile



Personally, I like to have the comment back feature to appear on every profile comment no matter if it's your profile or someone else's. IMO this makes it easier for people to comment to each other, instead of having to visit their profile before commenting to them.

Good job with the coding though. It looks like you use a vbphrase that I don't think comes with the hack though, so you should probably add how to add the phrase for anyone wanting to use your code.

On a different note:

Does anyone know of a vBulletin blog system for 3.6.x that I could add to this hack so that it has the look of the myspace blogs? I want to have the blog entry titles appear in a table in the upper right hand corner of the member profile which link to the actual blog entry page(s).

Warlord 09-14-2008 09:10 PM

Ok, I've got a better fix for the instant messenger issue we were having.

Replace the instant messenger code in the MEMBERINFO template I posted here with this.

HTML Code:

<!-- INSTANT MESSENGER ICONS IN FIFTH TABLE -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="panelsurround" align="center">
                        <div class="panel">
                                <div align="$stylevar[left]">

                                <fieldset class="fieldset">
                                        <legend><font color="#ffffff">$vbphrase[instant_messaging]</font></legend>
                                        <!-- FIRST NESTED TABLE -->
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        <START NESTED IF STATEMENT -->
                                        <if condition="$show['textimicons']">
                                                <!-- START SECOND NESTED IF STATEMENTS -->
                                                <if condition="$userinfo['showicq']">
                                                <tr>
                                                        <td>$vbphrase[icq]</td>
                                                        <td>$userinfo[icq]</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showaim']">
                                                <tr>
                                                        <td>$vbphrase[aim]</td>
                                                        <td>$userinfo[aim]</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showmsn']">
                                                <tr>
                                                        <td>$vbphrase[msn]</td>
                                                        <td>$userinfo[msn]</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showyahoo']">
                                                <tr>
                                                        <td>$vbphrase[yahoo]</td>
                                                        <td>$userinfo[yahoo]</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['skype']">
                                                <tr>
                                                        <td>$vbphrase[skype]</td>
                                                        <td>$userinfo[skype]</td>
                                                </tr>
                                                </if>
                                        <else />

                                                <if condition="$userinfo['showicq']">
                                                <tr>
                                                        <td>$userinfo[icqicon]</td>
                                                        <td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
                                                </tr>
<else />
                                                <tr>
                                                        <td><img src="/vb/images/misc/im_icq.gif"></td>
                                                        <td>N/A</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showaim']">
                                                <tr>
                                                        <td>$userinfo[aimicon]</td>
                                                        <td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
<else />
                                                <tr>
                                                        <td><img src="/vb/images/misc/im_aim.gif"></td>
                                                        <td>N/A</td>
                                                </tr>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showmsn']">
                                                <tr>
                                                        <td>$userinfo[msnicon]</td>
                                                        <td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
                                                </tr>
<else />
                                                <tr>
                                                        <td><img src="/vb/images/misc/im_msn.gif"></td>
                                                        <td>N/A</td>
                                                </tr>
                                                </if>

                                                <if condition="$userinfo['showyahoo']">
                                                <tr>
                                                        <td>$userinfo[yahooicon]</td>
                                                        <td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                                                </tr>
<else />
                                                <tr>
                                                        <td><img src="/vb/images/misc/im_yahoo.gif"></td>
                                                        <td>N/A</td>
                                                </tr>
                                                </if>
                                                <if condition="$userinfo['showskype']">
                                                <tr>
                                                        <td>$userinfo[skypeicon]</td>
                                                        <td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                                                </tr>
<else />
                                                <tr>
                                                        <td><img src="/vb/images/misc/im_skype.gif"></td>
                                                        <td>N/A</td>
                                                </tr>
                                                </if>
                                                <!-- END SECOND NESTED IF STATEMENTS -->
                                       
                                        <!-- END NESTED IF STATEMENT -->
                                        <!-- $template_hook[memberinfo_iminfo] -->
                                        <!-- END FIRST NESTED TABLE -->
                                        </table>
                                </fieldset>
</if>

                       
                        <!--        $template_hook[memberinfo_contactinfo] -->
                                </div>
                        </div>
                </td>
        </tr>
</table>

 <!-- END INSTANT MESSENGER ICONS IN FIFTH TABLE -->


tomotron 03-24-2009 09:35 PM

Looking for help transitioning to vb 3.7.x

basically, I just want users "friends" to follow them after I leave interactive profiles for the friends system in the new vbulletin. Their friends show up as contacts, but the "friends" box is unchecked and users need to resend a friend request.

If anyone can help I am offering to pay for their services, thanks!

HFB 06-24-2009 11:55 AM

We recently migrated a forum to a new url and the custom css no longer works. Everything else works. I reimported the product allowing overwrite which didn't fix it. A complete uninstall/reinstall isn't a good option for us as we don't want to lose the data. I suspect we no longer have the correct path to the custom css. Can anyone advise what the path should be? Any other helpful comments are welcome. Thanks!

identitas 11-04-2009 03:43 PM

How can I put in a box for my groups in the profile?
I use vBulletin 3.8.4, and yes, it works with vs-interactive with some hacks.

mmllc 07-02-2010 05:23 PM

I have a few problems with this mod, works great regardless, except for some template modifications that just won't work right. Hopefully someone else has run into one or more of these issues and can get me going again. I did notice that alot of the things I needed to find to make replacesments for just weren't there, so I had to "wing it" and place these modifications where I thought they might need to go.


Notifications
Firstly, the navbar red text that is supposed to appear if/when a user has new comments and friend requests just will not show up as it is given to me in the install:
Code:

        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
If I remove the if condition and leave in the vbphrases, the text obviously does show up and it does say 2 new comments or friend requests, but its this conditional that is making it disappear no matter if the user has new notifications or not.


User Ratings

I am obviously missing this template mod or some other setting because I have yet to see on any profile where I can rate a user. Upon further inspection, the modification that I think handles the ratings I did indeed insert into memberinfo but it's totally not showing up on my pages.

I see in the template
<if condition="$show['popups'] AND $show['iprof_rating']"> and what follows definitely appears in my forum pages when loaded, but its physically no where to be found by me the admin or any user when browsing. So all my members have "NO RATING" next to their names because we can't rate each other.


I physically took the code:
Code:


<table>

<tr>
       

<td class="tcat"><a name="goto_memberrating"></a>$vbphrase[iprof_rate_this_member]</td>
</tr>
<tr align="center">

        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="center">
       
                <!-- rate this member -->
                <form action="member.php" method="post">
                <div class="smallfont">
                        <input type="hidden" name="s" value="$session[dbsessionhash]" />
                        <input type="hidden" name="u" value="$userinfo[userid]" />
                        <input type="hidden" name="do" value="rate" />
                        <select name="vote" onchange="this.form.submit()" style="width:175px">
                                <optgroup label="$vbphrase[choose_a_rating]">
                                        <option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
                                        <option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
                                        <option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
                                        <option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
                                        <option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
                                </optgroup>
                        </select>$gobutton
                </div>
                </form>
                <!-- / rate this member -->
               
                </div>
        </div>               
        </td>
</tr>
</table>

and put it in the ministats memberinfo template, and it ALMOST worked, and when I hit submit I get a security token error. But at least its showing. I'm running 3.8 and this is for an older version, but anyone can suggest anything to try to make it work?


Thanks :)


All times are GMT. The time now is 06:36 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.02637 seconds
  • Memory Usage 1,811KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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