![]() |
Quote:
Also, you could just use the profile_sidebar_first template hook and save the manual editing. ;) Tyhe li tags will give you a W3C Markup Validation error, by the way. |
Quote:
|
1 Attachment(s)
Here's a pic of my profile with the QR code added via the profile_sidebar_first template hook.
|
Quote:
http://img205.imageshack.us/img205/9402/image001u.png What I should add to use profile_sidebar_first template hook? li tags are used by vBulletin in MEMBERINFO template, that's why I used them. But, I'm open for suggestions. :) |
Quote:
|
1 Attachment(s)
Updated code for 1.5
This is a modified version of QR concept from nhawk https://vborg.vbsupport.ru/showpost....0&postcount=14 To which I made more simple for those who dislike edit code and originally released here https://vborg.vbsupport.ru/showpost....4&postcount=18 Rights complete reserved to BirdOPrey5 (author) and to nhawk (concept) All I did was pre-add the tweak for version 1.5 Installed and working 4.1.10 Alpha 1, 2, 3, and Beta 1 .... Assume to work on final version. |
A quick thought..
Any way to have it work with first post ad location and still have the ad? vB default google adsense shows the ad to guest but when a user is logged in the ad is not displayed. It would be great to have the QR share this viewable to logged in users in the first post ad location. |
Quote:
|
Quote:
I tried first ad location and when I used it (as nhawk suggested) QR code was visible with ad beside if you're unlogged (or guest). Also, when you're logged in, you see only QR code. Ad is not visible as this ad is visible only for unlogged users. If you want this ad visible, you need to change code used for ad display. It could be done, of course, but by default ad isn't visible for logged in users. |
Quote:
QR code only showing when logged in within the ad space. and the ad only showing when unlogged (guest) Thanks Alan_SP, It's better than I thought...I was wondering if would work with the ad. Edit: Yes it work because...Display this ad if...User does not belong to usergroup I'll give it go. :) |
Quote:
Hey Boofo would you mind sharing what you did? Cheers, |
Quote:
|
Yes, I have the ad / QR all set up. Thanks
Now working on which set up? Quote:
vs MEMBERINFO Oops, I think I just figured out what I need to do...manually change product to use the Code:
{vb:raw template_hook.profile_sidebar_first} |
Yes, sir. And make sure to make the template with the code needed there.
|
Ok, just understood what Boofo suggests. :)
You need to edit plugin QR Profiles and add at the very end (but before }, it should be last): PHP Code:
PHP Code:
|
No, I made a template with the code and rendered it in that hook.
|
Ok, but this way works too, you could check it also.
But yes, I understand why making complete template could be practical. Would you share here your template? |
Just the same code that was suggested in the readme file, with a div added:
Template Name: memberinfo_bop5qr_profiles Template Code: HTML Code:
<vb:if condition="$vboptions[bop5qr_en] AND $vboptions[bop5qr_enprofiles]"> In the member_execute_start hook add this at the bottom (right before the closing } ) PHP Code:
|
Thanks for sharing how to make template. :up:
|
Yes, I still feel like a beginner, what are the steps...
by the way I like OldSchoolDSL xml now if Boofo's part was added...that would be awesome. |
You could use my suggestion, it produces same effect and it's easier to apply. Post #55
|
Quote:
|
Quote:
|
I did the template edits to show in profile, and set it to yes under the mods settings, yet it is not showing up in the profile page. Anyone can help me with why that would be please? Thanks.
EDIT: Blah....disregard above. I added the code in the wrong place.....now it is working. |
Is there away to change the path where this writes its new image files? Or is the default hard coded?
|
It's hard coded by this line in each plugin:
Code:
$qrfile = 'images/qr/t'.$qrid.'.png'; except the delete plugin is this line: Code:
$dir = DIR .'/images/qr'; |
Quote:
Not sure if that's something I can get it to do. Tried using a url and also tried the direct server path. No joy. I'll play with this a little more and see what I can (if anything) come up with |
Thanks
|
i installed everything as instructed. but qr not shows on the page. I am using 4.1.3 PL2 with completevb forum style and Mobile style by dartho for mobiles
|
great! may be you can add this too: https://vborg.vbsupport.ru/showthrea...87#post2415287
|
Sorry, I don't foresee adding an option to generate a QR code avatar based on profile information.
|
All times are GMT. The time now is 11:56 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|