Jump to content

Search the Community

Showing results for tags 'embed'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. hello, can somebody tell me if this is possible simply? OBJECTIVE > to embed the MUUT Forum into our website via their Federated ID method. i can embed their forum into our website just fine, and it works out-of-the-box, BUT we need to host our own user database (not using MUUT's). BACKGROUND INFO > i'm a ProcessWire noob, but am excited to dive in (experienced in other CMS's). i do front-end design mostly. i do very little back-end development, but i do have experience installing & doing minor customizations. i'm expert in HTML/CSS & intermediate in Javascript/Jquery i usually work with PHP/MySQL code given to me or found online; can't write from scratch. ISSUE/PROBLEM > in order to use muut's forum and our own user db, they require that we have our own user registration/authentication system that uses "Federated ID". not ever having used PW before, i don't know if this would be compatible with that. i just got thru a week-long experiment with a system i found called UserFrosting; but it's WAY too complex for me & what i need. so my next thought was to utilize a CMS's user system to be the user reg/auth bit for Muut. can ProcessWire be that system & integrate with MUUT? REFERENCES > MUUT website @ http://muut.com MUUT documentation @ https://muut.com/help/#fed-id MUUT userguide @ http://learn.muut.com/federated-id/manual-setup UserFrosting website @ http://userfrosting.com ProcessWire User API documentation @ http://processwire.com/api/variables/user ProcessWire Cheatsheet @ http://cheatsheet.processwire.com/user CODE > at the bottom of this post is the index.php code that i pieced together from the muut docs, guides, & support forum to use as a base (pre any customizations). before that code, i have directly under these points are 2 code boxes containing 2 examples of the only section from index.php that i believe needs changing to work with ProcessWire. after that is a 3rd code box with my attempt at connecting ProcessWire with MUUT - but i'm unsure if it's correct or not. in the whole page code at bottom of this post, right under the <body>, in that PHP section's user array (a.k.a. Step 1), i found this code in the muut docs... "id" => "johndoe", "displayname" => "John Doe", "email" => "john@doe.com", "avatar" => "//gravatar.com/something", you'll note the commented out part with this in the index.php code; it's what i found elsewhere in a muut support thread... "id" => $userObj->userID, "displayname" => $userObj->fname . ' ' . $userObj->lname, "email" => $userObj->email, "avatar" => $userObj->photo, so based on those 2 examples above, would it be correct/incorrect to use PW's user properties like this(?)... "id" => $user->id, "displayname" => $user->name, "email" => $user->email, "avatar" => $user->ICouldntFindWhatWouldGoHere, ...SUBQUESTION > i couldn't find what ProcessWire uses for a User-Avatar/Picture. anybody know? FYI > HERE is the whole code for this un-customized index.php file THAT WORKS withOUT our own user system... <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Untitled Document</title> <link rel="stylesheet" href="https://cdn.muut.com/1/moot.css" /> <style> .m-custom .nested { margin-left: 1em; } /* .is-commenting, .is-threaded { max-width: 700px; } */ </style> <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> </head> <body> <?php // Step 1 // Generate the message before the page loads // give us the user data $user = array( 'user' => array( "id" => "johndoe", // "id" => $userObj->userID, "displayname" => "John Doe", // "displayname" => $userObj->fname . ' ' . $userObj->lname, "email" => "john@doe.com", // "email" => $userObj->email, "avatar" => "//gravatar.com/?", // "avatar" => $userObj->photo, "is_admin" => false, ), ); // Step 2 // encode the user array to generate the 'message'. $message = base64_encode(json_encode($user)); // assign the current timestamp to be used. $timestamp = time(); // Step 3 // Generate the signature = my long secret key from account settings page $signature = sha1('####################' . ' ' . $message . ' ' . $timestamp); ?> <div class="muut"> <a class="muut-url" href="https://muut.com/i/sanctuary">Sanctuary Community</a> <!-- custom sidebar --> <div class="m-h3">Your Forum Title Again</div> <a href="#!/chan1">Channel 1</a> <div class="nested"> <a href="#!/chan1/subchan1">Subchannel 1</a> <a href="#!/chan1/subchan2">Subchannel 2</a> </div> <a href="#!/chan2">Channel 2</a> </div><!-- end class="muut" --> <!--div class="comments"> <a class="muut" href="https://muut.com/i/sanctuary/comments" type="dynamic">Commenting</a> </div> <div class="messages"> <span class="muut-messaging" data-forumname="evaluating-the-muutiny">Messages</span> </div--> <!-- END OF PAGE --> <script src="//cdn.muut.com/1/moot.min.js"></script> <script> $("#muut").muut({ api: { key: '########', // my short api key from account settings page message: '<?php echo $message; ?>', timestamp: <?php echo $timestamp; ?>, signature: '<?php echo $signature; ?>', login_url: "http://sanctuaryinternational.com/community/index.php" } }); </script> </body> </html> THANKS!!!!!!!
  2. Hi to everybody, I'm new to Processwire and I'm really amazed by this CMS and framework. So thanks for this wonderful work!!!!! I managed to solve all the problems by reading this forum. Only one remains: I wanted to use "Hanna code" to insert into my text field some vimeo videos or google maps. I installed Hanna code and tried to create a new code like [[video_vimeo codice=100812490]] with the custom code: <iframe src="//player.vimeo.com/video/100812490" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> but when i click on the save button the system return me a 403 forbidden page. I already tried to uninstall and reinstall the hanna code but nothing. Can anyone help me?? Thank you very much!! Andrea
  3. Hello everyone, I'm new here but I'm really looking forward to using this amazing tool to help me complete a new project. I am currently developing a site using a web based database named Omeka for a local art gallery. They have thousands of works available in their archives and their current non dynamic website is no longer able to keep up with its content. The cms that will be handling all of the content is amazing for dealing with objects and their associated metadata, but when it comes to its ability to create custom content it just doesn't have enough tools. So after much searching I came upon processwire, and I am really excited. So here is what I am hoping to achieve. Omeka handles the objects. Processwire handles the pages within the site that need to be curated. So what I currently have is several views that include in the body of the website that are pointed to paths in processwire’s directories and an iframe in my admin panel that points to processwire’s admin panel to create the feeling of a plugin. Where I am now struggling is how I should approach hiding the view’s path from the web, but still allowing them to be included in the rest of the project. Thank you in advance!
  4. How can I enable this code inside a page in my processwire? <object style="height: 390px; width: 640px"><param name="movie" value="https://www.youtube.com/watch?v=bQ6D4eZ4r5Y?version=3&feature=player_detailpage"><param'>https://www.youtube.com/watch?v=bQ6D4eZ4r5Y?version=3&feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="https://www.youtube.com/watch?v=bQ6D4eZ4r5Y?version=3&feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>
  5. Hello, I'm trying to create the CMS for the music section. The client will basically have its music uploaded via soundcloud. The client could copy and paste the embed option of soundcloud and insert it into a field. This could be echoed trough a foreach loop. What I dont know is how will I do this. Which field should I use and which method is the best? What do you reccomend?
×
×
  • Create New...